Better support for other plugins to determine which tests are included/excluded
and the order the tests get run
---------------------------------------------------------------------------------------------------------------
Key: SUREFIRE-526
URL: http://jira.codehaus.org/browse/SUREFIRE-526
Project: Maven Surefire
Issue Type: Improvement
Components: plugin
Reporter: Nick Pellow
Currently, it is possible to provide the 'test' pattern to the
maven-surefire-plugin to include/exclude specific tests to be run.
This can be set on the MavenProject instance of any plugin which runs prior to
the surefire plugin.
Since this is just a pattern of tests to include, it has the following
shortcomings:
* To excludes a single test, you need to add _all_ tests, minus the test to
exclude
* The order of the test patterns is not used when the tests get run.
If there is no better means to control which tests get run and in which order
from outside the surefire plugin, how do you suggest this be achieved?
This may require changes to maven core to allow attributes <String,Objects> be
set as well as Properties.
--
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