You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-dev@maven.apache.org by "John Didion (JIRA)" <ji...@codehaus.org> on 2006/03/06 07:53:23 UTC

[jira] Commented: (SUREFIRE-31) support junit 4.0

    [ http://jira.codehaus.org/browse/SUREFIRE-31?page=comments#action_60191 ] 

John Didion commented on SUREFIRE-31:
-------------------------------------

It seems like a good first step would be adding a JUnit4Battery to surefire. I'll volunteer to take a first shot at this, basing it on the JUnitBattery.

> support junit 4.0
> -----------------
>
>          Key: SUREFIRE-31
>          URL: http://jira.codehaus.org/browse/SUREFIRE-31
>      Project: surefire
>         Type: Improvement

>     Reporter: John Didion
>     Assignee: Jason van Zyl

>
>
> I know this is a pretty sizable task. I just wanted to get it in the system now that 4.0 has officially been released. Hopefully this will generate some discussion about how 4.0 will be handled - mainly if it will require a completely seperate implemenation of surefire (keeping the same API so it can easily be used by the maven plugin), or if use of 4.0 will be made a configurable option of the current surefire.
> Here's some additional features I'd like to see:
> 1. Ability to categorize tests. Unfortunately, 4.0 doesn't include an @Category annotation, or make category a parameter of @Test. However, the filtering mechanism provided by 4.0 is sufficent to support categories given the presense of such an annotation. I recommend putting the @Category annotation in a seperate module (surefire-annotations?) and build support for it into surefire. Hopefully the junit guys could be convinced to incorporate it in a later version.
> 2. Similarly, support repeated tests via an @Repeated annotation. I'm not sure how easy this would be to do external to junit.

-- 
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