You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2010/05/26 18:12:12 UTC

[jira] Commented: (SUREFIRE-621) Parallel test execution: Test couting and reporting does not work with JUnit 3 TestSuites

    [ http://jira.codehaus.org/browse/SUREFIRE-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=222748#action_222748 ] 

Kristian Rosenvold commented on SUREFIRE-621:
---------------------------------------------

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 ?

> 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