cakupan:test

Full name:

org.nuessler.maven.plugins:cakupan-maven-plugin:0.7-SNAPSHOT:test

Description:

Run transformation tests using Surefire.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: test.
  • Invokes the execution of the lifecycle phase test prior to executing itself.
  • Executes in its own lifecycle: cakupan.

Optional Parameters

Name Type Since Description
instrumentDestDir File - (no description)
Default value is: ${project.build.directory}/cakupan-instrument.
User property is: xslt.instrument.destdir.
test String - Specify this parameter to run individual tests by file name, overriding the includes/excludes parameters. Each pattern you specify here will be used to create an include pattern formatted like **/${test}.java, so you can just type "-Dtest=MyXsltTest" to run a single test called "foo/MyXsltTest.java".
This parameter overrides the includes/excludes parameter.
User property is: test.
testExcludes List - A list of <exclude> elements specifying the tests (by pattern) that should be excluded in testing. When not specified and when the test parameter is not specified, the default testExcludes will be
<testExcludes>
 <exclude>**/*$*</exclude>
</testExcludes>
(which excludes all inner classes).

testFailureIgnore boolean - Set this to "true" to ignore a failure during testing. Its use is NOT RECOMMENDED, but quite convenient on occasion.
Default value is: false.
User property is: maven.test.failure.ignore.
testIncludes List - A list of <include> elements specifying the tests (by pattern) that should be included in testing. When not specified, the default testIncludes will be
<testIncludes>
 <include>**/*TransformationTest.java</include>
 <include>**/*XsltTest.java</include>
</testIncludes>

Parameter Details

instrumentDestDir:

(no description)
  • Type: java.io.File
  • Required: No
  • User Property: xslt.instrument.destdir
  • Default: ${project.build.directory}/cakupan-instrument

test:

Specify this parameter to run individual tests by file name, overriding the includes/excludes parameters. Each pattern you specify here will be used to create an include pattern formatted like **/${test}.java, so you can just type "-Dtest=MyXsltTest" to run a single test called "foo/MyXsltTest.java".
This parameter overrides the includes/excludes parameter.
  • Type: java.lang.String
  • Required: No
  • User Property: test

testExcludes:

A list of <exclude> elements specifying the tests (by pattern) that should be excluded in testing. When not specified and when the test parameter is not specified, the default testExcludes will be
<testExcludes>
 <exclude>**/*$*</exclude>
</testExcludes>
(which excludes all inner classes).
  • Type: java.util.List
  • Required: No

testFailureIgnore:

Set this to "true" to ignore a failure during testing. Its use is NOT RECOMMENDED, but quite convenient on occasion.
  • Type: boolean
  • Required: No
  • User Property: maven.test.failure.ignore
  • Default: false

testIncludes:

A list of <include> elements specifying the tests (by pattern) that should be included in testing. When not specified, the default testIncludes will be
<testIncludes>
 <include>**/*TransformationTest.java</include>
 <include>**/*XsltTest.java</include>
</testIncludes>
  • Type: java.util.List
  • Required: No