maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <>
Subject [jira] Commented: (SUREFIRE-555) Support junit core for parallel running of tests
Date Wed, 04 Nov 2009 11:29:55 GMT


Kristian Rosenvold commented on SUREFIRE-555:

It turns out I had done "the right" thing and extracted all the directory scanning to the
separate class, so this is effectively in use by all the providers (it was done in the base
class for the providers and I extracted it to get more precise test coverage and re-use for
the junit 4.7 provider)

Since I'm not totally fluent in the maven internals, you may also want to just check the methods
isJunit40to46 and isJunit47Compatible in the revised patch, just in case there's a better
way to do it.  

> Support junit core for parallel running of tests
> ------------------------------------------------
>                 Key: SUREFIRE-555
>                 URL:
>             Project: Maven Surefire
>          Issue Type: New Feature
>         Environment: All
>            Reporter: Kristian Rosenvold
>         Attachments: surefire.patch, surefirev2.patch, surefirev3.patch
> The enclosed patch adds junitcore support to surefire. The patch requires junit 4.6 (the
latest released version) to compile, but is only activated when running with the 4.7 snapshot
or higher (due to some bugs in 4.6).  The patch adds one extra setting to the surefire plugin.
More details at
> The new plugin also requires an external library which can be found at,
which will be bumped to 1.0 when/if you decide to accept the patch. I am requesting that the
junit project actually accept the features of the configurable-parallel-computer as a standard
feature in junit 4.7, but that's not decided yet. I do not have a public maven repo that is
hosting configurable-parallel-computer, but was hoping maybe you could publish it ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message