[jboss-jira] [JBoss JIRA] Updated: (JBBUILD-166) Need way to run just one unit test from the build

Paul Gier (JIRA) jira-events at lists.jboss.org
Fri Mar 16 12:04:32 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBBUILD-166?page=all ]

Paul Gier updated JBBUILD-166:
------------------------------

    Affects Version/s: MavenBuild 1.2
             Assignee: Paul Gier

There are a few ways to run a single test with a maven based build.  A single test can be run using the surefire plugin with this command:
mvn -Dtest=org.jboss.MyTest test
More info here: http://maven.apache.org/plugins/maven-surefire-plugin/howto.html


> Need way to run just one unit test from the build
> -------------------------------------------------
>
>                 Key: JBBUILD-166
>                 URL: http://jira.jboss.com/jira/browse/JBBUILD-166
>             Project: JBoss Build System
>          Issue Type: Feature Request
>    Affects Versions: MavenBuild 1.2
>            Reporter: walkerrl
>         Assigned To: Paul Gier
>            Priority: Optional
>
> This issue is concerned with making sure that within the new build system (i.e. maven2), that there is a way for projects, which use the new build system and follow its guidelines, to kick-off unit tests one at a time. The assumption is that the configuration of the correct classpath along with kicking off junit tests placed in a standard directory, should be the responsibility of the build system, since it is an aspect common to building and testing virtually all projects. This issue just deals with adding the requirement of being able to run a single unit-test on a project using the build system.
> If this feature is already available within the build system, then usage information is all that is required.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list