allure-java
allure-java copied to clipboard
TestNG - Mutiple Test are there in the xml file ..TC count not displayed in the report properly
Describe the bug In the TestNG xml.. I have two test suite. my TestNG report shows the no.of test cases properly.In Allure report of the test suite cases are missing. The json file report is generated in allure-reports
To Reproduce
<test name "Test1">
<classes>
<class name="class1.method1">
</class>
</classes>
</test>
<test name ="Test2">
<classes>
<class name="class4.t3"/>
<class name="class3.sample3"/>
<class name="class2.test1"/>
<class name="class1.method1"/>
</classes>
</test>
Expected behavior The total no of testcase should be 5 . each class have one method. But in allure only 4 is displayed .Test1 results are not displayed. I see a simillar pattern.If i use the same methods in differents test .. the count is not displayed properly Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.
This issue arises because the <class name="class1.method1"> in test1 and test2 have same tests so Allure counts them as 1 test and put the other test result in Retries tab.
Yet to see if the bug is fixed or not.