You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-dev@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2006/02/28 02:09:37 UTC

[jira] Closed: (SUREFIRE-7) Targets for unit, integration and functional tests

     [ http://jira.codehaus.org/browse/SUREFIRE-7?page=all ]
     
Jason van Zyl closed SUREFIRE-7:
--------------------------------

    Resolution: Won't Fix

> Targets for unit, integration and functional tests
> --------------------------------------------------
>
>          Key: SUREFIRE-7
>          URL: http://jira.codehaus.org/browse/SUREFIRE-7
>      Project: surefire
>         Type: Improvement

>  Environment: All platforms, Maven 2 beta 3
>     Reporter: larry
>     Assignee: Jason van Zyl
>      Fix For: 1.5.3

>
>
> I could not find this functionality by reading the current documentation. I think it would be a good idea to have the following targets added to m2 and the surefire plugin:
> test:unit
> test:integration
> test:functional
> Currently I don't know how to separate these tests with Maven 2 beta 3. It is a good idea to separate the tests into different groups. Fast running and simple tests should be run when executing the test:unit target. Longer running should not be executed at every build just before deploy.
> Surefire could look for the tests in a default location. For example something like:
> src/main/test/java/**/unit/*Test.java
> src/main/test/java/**/integration/*Test.java
> src/main/test/java/**/functional/*Test.java
> These paths could also be specified in the pom.xml.
> Another possibility would be the possibility of defining your own groups in the pom. And execute them with for example m2 test:group unit.

-- 
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