You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Difido works great with TestNG 6.14.3, but after upgrading TestNG to 7.0.0 or 7.1.0 there is an issue:
While there is more than one "Test" in TestNG xml file, difido reports are splitting and multiplying the tests.
TestNG suite structure that used to work:
`
<test name="Test1">
<parameter name="testedApp" value="Test1"/>
<groups>
<run>
<include name="Test1"/>
<exclude name="PendingReview"/>
<exclude name="Unstable"/>
</run>
<dependencies>
<!-- Service Health Check -->
<group name="Test1" depends-on="ServiceHealthCheck"/>
</dependencies>
</groups>
<packages>
<package name="source.auto.tests.api.*"/>
</packages>
<classes>
<!-- Service Health Check -->
<class name="source.auto.tests.api.ServiceHealthCheckTest"/>
</classes>
</test>
<test name="Test2">
<parameter name="testedApp" value="Test2"/>
<groups>
<run>
<include name="Test2"/>
<exclude name="PendingReview"/>
<exclude name="Unstable"/>
</run>
<dependencies>
<!-- Service Health Check -->
<group name="Test2" depends-on="ServiceHealthCheck"/>
</dependencies>
</groups>
<packages>
<package name="source.auto.tests.api.*"/>
</packages>
<classes>
<!-- Service Health Check -->
<class name="source.auto.tests.api.ServiceHealthCheckTest"/>
</classes>
</test>
`
will result with the following report:
![image](https://user-images.githubusercontent.com/61405630/75134763-eead7280-56e7-11ea-9c71-47f12bcff32e.png)
The same exactly suite, but this time with only one test:
`
<test name="Test1">
<parameter name="testedApp" value="Test1"/>
<groups>
<run>
<include name="Test1"/>
<exclude name="PendingReview"/>
<exclude name="Unstable"/>
</run>
<dependencies>
<!-- Service Health Check -->
<group name="Test1" depends-on="ServiceHealthCheck"/>
</dependencies>
</groups>
<packages>
<package name="source.auto.tests.api.*"/>
</packages>
<classes>
<!-- Service Health Check -->
<class name="source.auto.tests.api.ServiceHealthCheckTest"/>
</classes>
</test>
`
will result with the following report:
![image](https://user-images.githubusercontent.com/61405630/75134800-0a187d80-56e8-11ea-87db-83612f0b2f8d.png)
The text was updated successfully, but these errors were encountered:
ValorHeart
changed the title
Report issues with TestNG 7.1.0
Report issues with TestNG 7.0.0 or 7.1.0
Feb 24, 2020
Difido works great with TestNG 6.14.3, but after upgrading TestNG to 7.0.0 or 7.1.0 there is an issue:
While there is more than one "Test" in TestNG xml file, difido reports are splitting and multiplying the tests.
TestNG suite structure that used to work:
`
The same exactly suite, but this time with only one test:
`
The text was updated successfully, but these errors were encountered: