You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "SebbASF (JIRA)" <ji...@codehaus.org> on 2011/01/23 16:30:57 UTC
[jira] Commented: (SUREFIRE-577) running only some method of a unit
class (with -Dtest=MyClass#myMethod)
[ http://jira.codehaus.org/browse/SUREFIRE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252525#action_252525 ]
SebbASF commented on SUREFIRE-577:
----------------------------------
Ant supports this from version 1.8.2 [1].
They use a new attribute:
methods Comma-separated list of names of test case methods to execute.
A similar implementation here would be easier for those who need to use both Ant and Maven.
[1] http://ant.apache.org/manual/Tasks/junit.html#nested
> running only some method of a unit class (with -Dtest=MyClass#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