[ http://jira.codehaus.org/browse/SUREFIRE-7?page=comments#action_59598 ]
Jason van Zyl commented on SUREFIRE-7: -------------------------------------- This will be supported by maven's standard build lifecycle and not something to put in surefire itself. Surefire simply runs tests, it doesn't care what flavour. > 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