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
When using the Test Retry Gradle plugin with Gradle 5.0 and using the JUnit Suite engine, retrying tests on class level fails.
TestSuite
Test1
testOk()
testFlaky() // fails on 1st execution and passes on 2nd
Test2
testOk()
testFlaky() // fails on 1st execution and passes on 2nd
The class Test1 is configured to be retried on class-level.
When running this with Gradle 5.0, the following error is shown:
The following test methods could not be retried, which is unexpected.
No test methods are listed though.
The reason for this problem is the fact that Gradle 5.0 does not report test events for the intermediate classes Test1 and Test2. Only events for TestSuite and the test methods are reported.
The text was updated successfully, but these errors were encountered:
When using the Test Retry Gradle plugin with Gradle 5.0 and using the JUnit Suite engine, retrying tests on class level fails.
The class
Test1
is configured to be retried on class-level.When running this with Gradle 5.0, the following error is shown:
No test methods are listed though.
The reason for this problem is the fact that Gradle 5.0 does not report test events for the intermediate classes
Test1
andTest2
. Only events forTestSuite
and the test methods are reported.The text was updated successfully, but these errors were encountered: