[
http://jira.codehaus.org/browse/SUREFIRE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252215#action_252215
]
Timothy Mecklem commented on SUREFIRE-329:
------------------------------------------
This would help us immensely to distinguish between the tests we want to run
during local builds and those we want to execute during integrations which are
slower. Please include this feature.
> Support for JUNIT extensions
> ----------------------------
>
> Key: SUREFIRE-329
> URL: http://jira.codehaus.org/browse/SUREFIRE-329
> Project: Maven Surefire
> Issue Type: Wish
> Components: Junit 4.x support
> Reporter: Anuj Kathuria
> Fix For: Backlog
>
>
> Is there any plan to support using JUNIT extensions such as
> @Category,@PreRequisite with Maven2 SureFire plugin?
> The JUNIT EXTENSION URL:
> http://www.junitext.org/
> 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);
> core.run(req.filterWith(new CategoryFilter("Z")));
--
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