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.
|Workflow||jira [ 49231 ]||Maven New [ 53883 ]|
|Link||This issue is depended upon by MSUREFIRE-84 [ MSUREFIRE-84 ]|
|Attachment||SUREFIRE-31-maven-surefire-plugin.patch [ 22216 ]|
|Attachment||SUREFIRE-31-surefire-trunk.patch [ 22285 ]|
|Component/s||Junit 4.x support [ 12348 ]|
|Fix Version/s||2.1 [ 12620 ]|
|Attachment||SUREFIRE31_karl_maven-surefire-plugin.patch [ 23310 ]|
|Attachment||SUREFIRE31_karl_surefire_surefire-providers_surefire-junit.patch [ 23311 ]|
|Attachment||SUREFIRE31_karl_surefire_surefire-providers_surefire-junit_2ndMethod.patch [ 23357 ]|
|Attachment||surefire-junit4.patch [ 25042 ]|
|Attachment||surefire-junit4.patch [ 25043 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|
|Project Import||Sun Apr 05 13:23:32 UTC 2015 [ 1428240212200 ]|
|Workflow||jira [ 12727356 ]||Default workflow, editable Closed status [ 12758555 ]|
|Project Import||Mon Apr 06 01:36:33 UTC 2015 [ 1428284193036 ]|
|Workflow||jira [ 12965482 ]||Default workflow, editable Closed status [ 13003190 ]|
|Assignee||jason lane [ jason ]||Jason van Zyl [ jvanzyl ]|