Parallel test execution: Test couting and reporting does not work with JUnit 3
TestSuites
-----------------------------------------------------------------------------------------
Key: SUREFIRE-621
URL: http://jira.codehaus.org/browse/SUREFIRE-621
Project: Maven Surefire
Issue Type: Bug
Components: Maven Surefire Plugin, Maven Surefire Report Plugin
Affects Versions: 2.5
Environment: Any OS; JDK 1.5 or higher; JUnit 4.8.1, self-compiled
Surefire (trunk)
Reporter: Mag Hoehme
Attachments: surefire-test.tar.gz
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira