-
-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Number Of Test Reported Is Incomplete #1196
Comments
Additional note on the issue. 2 Test cases are identical on each of the test classes. |
I am having the same issue. testng reported test-cases are different that allure reports. Allure reports are de-duping the similar test-cases |
I am having the same issue. I am using the Allure Report version 8.0.0. Are you found some solution? |
@amacostapagseguro no confirmation from the devs yet if this a bug or not hence no solution yet. If I remember, my work around here was to make sure that test cases under a test class are unique and made sure that there were no same test classes under a test tag in your testng xml file. Hope this helps. |
I have the same issue @Agent1997, if you can go to the timeline you will see the other 2 tests... |
Same here, if I run |
Describe the bug
Number Of Test Reported Is Incomplete.
Example Scenario:
I have 2 Test classes with 4 test cases each. But on allure reports only 6 test are reported.
NOTE: That the 2 missing tests are the first test cases on their respective test classes.
To Reproduce
Steps to reproduce the behavior:
allure serve
Expected behavior
All test executed regardless of their status should be reported correctly by allure.
Screenshots
Allure-results
TestNG test summary
Allure Report
Environment (please complete the following information):
Additional context
Test Codes
`public class SampleTest2 {
private Object[][] data;
private String wbloc = "src/test/resources/TestData/sample_request.xlsx";
private String sheetName = "API";
private int count = 0;
@BeforeClass
public void setData() throws IOException {
data = XLSXReader.getNormalizedDataWithoutHeader(wbloc,sheetName);
}
}`
`public class SampleRequest {
private Object[][] data;
private String wbloc = "src/test/resources/TestData/sample_request.xlsx";
private String sheetName = "API";
private int count = 0;
@BeforeClass
public void setData() throws IOException {
data = XLSXReader.getNormalizedDataWithoutHeader(wbloc,sheetName);
}
}`
POM.XML
`
org.example
API_Test_POC
1.0-SNAPSHOT
The text was updated successfully, but these errors were encountered: