[ 
http://jira.codehaus.org/browse/SUREFIRE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249753#action_249753
 ] 

Olivier Lamy commented on SUREFIRE-577:
---------------------------------------

My goal is more to be able to execute only one test !
{code}
-Dtest=FooBar -DtestMethod=testNiceStuff.
{code}
In this case only FooBar#testNiceStuff will be executed.

BTW if -Dtest= is null and not -DtestMethod, we can execute method(s) from 
scanned classes which match the parameter value.
WDYT ?

> 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

        

Reply via email to