[ http://jira.codehaus.org/browse/SUREFIRE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249748#action_249748 ]
Kristian Rosenvold edited comment on SUREFIRE-577 at 12/27/10 1:13 PM: ----------------------------------------------------------------------- I think we should just use the single -Dtest=FooBar flag for all options. FooBar can be a test class, a test method (likely fooBar) or a JUnit Category. Since we scan the classpath and all classes we can just create the union if any disambiguity. Note that JUnit categories is the same as testNg groups, and we already have a parameter on the surefire mojo for TestNG groups. I Just think it's natural to be able to specify groups/categories using the same -Dtest parameter was (Author: krosenvold): I think we should just use the single -Dtest=FooBar flag for all options. FooBar can be a test class, a test method (likely fooBar) or a JUnit Category. Since we scan the classpath and all classes we can just create the union if any disambiguity. > running only some method of a unit class (with -Dtest.method=myMethod) > ---------------------------------------------------------------------- > > Key: SUREFIRE-577 > URL: http://jira.codehaus.org/browse/SUREFIRE-577 > Project: Maven Surefire > Issue Type: New Feature > Components: Maven Surefire Plugin > Reporter: Olivier Lamy > Assignee: Olivier Lamy > > I definitely don't know if it's possible with junit. > But it's an idea, I have now :-). -- 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