Sarath
Sarath

Reputation: 1496

Allure reports showing the testng tests that are not run as 'Broken'

When generating allure reports for TestNG tests, the tests that are not run are shown as 'broken' under xUnit. The default TestNG report shows the correct count of test cases that are run, but allure reports shows all the tests from testng.xml including those that are not run.

Upvotes: 1

Views: 2926

Answers (1)

RocketRaccoon
RocketRaccoon

Reputation: 2599

Allure marks all tests which has ended with unexpected exception (is not instance of AssertionError) as BROKEN. It seems that there is an exception some where in cofiguration methods, I suppose. And yeah, Allure show all tests, including configuration methods and disabled tests, you can fix it in your custom adaptor.

Upvotes: 1

Related Questions