Reputation: 1496
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
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