diff --git a/test/plugin.jelly b/test/plugin.jelly index 14339fe0..c10fde90 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -179,6 +179,9 @@ + + + @@ -239,6 +242,9 @@ + + + @@ -321,6 +327,9 @@ + + + @@ -425,6 +434,9 @@ + + + diff --git a/test/plugin.properties b/test/plugin.properties index fc32ef89..d197b694 100644 --- a/test/plugin.properties +++ b/test/plugin.properties @@ -35,3 +35,4 @@ maven.test.dest = ${maven.build.dir}/test-classes maven.test.reportsDirectory = ${maven.build.dir}/test-reports maven.test.skip = false maven.test.excludeXmlApis = no +maven.test.classpath = diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index c996a37f..e15ff6b8 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -24,6 +24,7 @@ + Allow to add additional elements to the test classpath, new property maven.test.classpath. Display a warning if some tests do not pass (and maven.test.failure.ignore=true). Add timeouts to the test plugin, new property maven.junit.timeout. Add ability to fail the build on test errors, new property maven.test.error.ignore. diff --git a/test/xdocs/properties.xml b/test/xdocs/properties.xml index d4ff553b..120d3442 100644 --- a/test/xdocs/properties.xml +++ b/test/xdocs/properties.xml @@ -164,6 +164,16 @@ Defaults to ${maven.build.dir}/test-reports. + + maven.test.classpath + Yes + + Specifies one or more locations that will be added to + the classpath when the tests are run. Multiple values + can be used; the rules of the ant <pathelement path="..."> + directive apply. + + maven.junit.jvmargs Yes