How to update test status in "-results.json" programatically when a test is marked as ignored based on env variable #2147
-
Hi @baev I am using Allure Specflow with xUnit. These tests are ignored intentionally, so I am curious, if there is a way to set Status as 'skipped' in Allure "-results.json" file for these specific test scenarios/steps Appreciate your help!. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@delatrie take a look, please |
Beta Was this translation helpful? Give feedback.
@neparij, I was able to update testcase status in "results.json" file by calling AllureLifeCycle.Instance.UpdateTestCase function.
Thank you for your help!