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/06/23 21:43:12 UTC

[jira] Closed: (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:all-tabpanel ]

Kristian Rosenvold closed SUREFIRE-621.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6
         Assignee: Kristian Rosenvold

Thanks for the supplied test-case. Fixed in r957320, added IT for the test-case. 

> 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
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>         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