Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5
-
Fix Version/s: 2.6
-
Component/s: Junit 4.7+ (parallel) support
-
Labels:None
-
Environment:Any OS; JDK 1.5 or higher; JUnit 4.8.1, self-compiled Surefire (trunk)
-
Complexity:Intermediate
-
Testcase included:yes
-
Number of attachments :
Description
I am running a number of old-style JUnit3 test cases that make use of a static suite() method. When running without parallelization, everything works as expected. When adding parallelization, all test methods are executed, but reporting and counting does not work:
(1) ANY reporting stops as soon as one of the "suite" tests is started
(2) the tests are not correctly counted
As a consequence, the output cannot be used for creating a surefire report. I have included a small demo project that shows the effects described above.
Thank you for your testcase, it will ensure you a speedy fix for this issue. Can you please add ASF license headers to source files when you submit test-cases ? Are these test-cases your original work and submitted here under the ASF 2.0 license ?