[
http://jira.codehaus.org/browse/SUREFIRE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249757#action_249757
]
Kristian Rosenvold commented on SUREFIRE-577:
---------------------------------------------
I understand you want to run one specific test ;) I'm thinking we have all the
information we need here, and can be more like google, you type something after
-Dtest and we use that to resolve your request. If you're imprecise or lazy we
might run a few more tests. If you're concise or have well named tests you get
your single test.
I'm not particularly worried about syntax here ; -Dtest=MyClass#myTest,
-Dtest=MyClass.myTest, -Dtest=myTest, -Dtest=*.myTest or whatever. I just think
we should keep the api simple from the user perspective.
I'm interested in solving SUREFIRE-656 for 2.8, but regardless of that I think
a unified -Dtest= syntax would be cool, and really user friendly.
> 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