maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <>
Subject [jira] Commented: (SUREFIRE-329) Support for JUNIT extensions
Date Mon, 29 Aug 2011 19:35:32 GMT


Kristian Rosenvold commented on SUREFIRE-329:

Note that I have this fully integrated into a branch at

I have merged the changes back into the surefire-junit47 and extracted a common-junit48 module
instead, this uses only a little bit of reflection. I only want to test how this interacts
with the parallel stuff before committing this fix to svn

> Support for JUNIT extensions
> ----------------------------
>                 Key: SUREFIRE-329
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Wish
>          Components: Junit 4.x support
>            Reporter: Anuj Kathuria
>            Assignee: Kristian Rosenvold
>             Fix For: Backlog
>         Attachments: surefire-329.txt, surefire-329.txt
> Is there any plan to support using JUNIT extensions such as @Category,@PreRequisite with
Maven2 SureFire plugin?
> We would like to specify the categories to run via a configurable option in the maven
surefire plugin that supports JUNIT extensions
> See example Java Code: The following runs only tests with Category - Z.
>          //In JUnit4
>         JUnitCore core = new JUnitCore();
>         // use for categories special listener, give some statistics
>         core.addListener(new CategoryTextListener(System.out));
>         Request req = Request.aClass(SpcfXXXXTest.class);
> CategoryFilter("Z")));

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message