sebtiem opened a new pull request, #3230:
URL: https://github.com/apache/maven-surefire/pull/3230
It looks like, JUnitPlattformProvider is handling (JUnit4-Suites with)
inheritance in tests differently in context of test runs:
- old behaviour: TestSuite executes 2 classes: FlakyParent and FlakyTest
- JUnit executed 3 test runs in total: FlakyParent (1) + child class
FlakyTest (2) + FlakyTest (3)
- JUnitPlatform executes 3 tests but in only 2 runs total: FlakyParent +
child class FlakyTest (1) + FlakyTest (2)
As SUREFIRE-1152 had nothing to do with inheritance, I removed that
parent-child stuff to focus on the (from JUnit side) deprecated suite:
- new test: Suite executes 2 test classes: FlakyTest (1), FlakyIT(2)
- JUnit executes 2 tests in 2 test runs in total: FlakyTest (1), FlakyIT(2)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]