test:test

Full name:

npanday.plugin:maven-test-plugin:1.3-incubating:test

Description:

Runs NUnit tests

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: test.

Required Parameters

Name Type Since Description
nUnitResultErrorOutputPath File - nUnitResultErrorOutputPath
Default value is: ${project.build.directory}/nunit-reports/TEST-${project.build.finalName}-ERROR.txt.
nUnitResultOutputPath File - nUnitResultOutputPath
Default value is: ${project.build.directory}/nunit-reports/TEST-${project.build.finalName}-RESULTS.txt.
nUnitXmlFilePath File - nUnitXmlFilePath
Default value is: ${project.build.directory}/nunit-reports/TEST-${project.build.finalName}.xml.

Optional Parameters

Name Type Since Description
executionFrameworkVersion String - The framework version to run the tests: 1.1, 2.0, 3.5, 4.0
forceX86 boolean - On 64bit-systems, the tests will automatically perform in .NET 64bit-version. If you need to run your tests using 32bit (native calls, i.e.) set this option to true.
Default value is: false.
integrationTest boolean - The artifact acts as an Integration test project
nunitCommand String - Specify the name of the NUnit command to be run, from within the nunitHome/bin directory.
nunitHome String - The home of nunit. Use this if you 1) have not added nunit to your path and you only have MS installed; or 2) have mono installed and want to use another version of nunit.
reportsDirectory String - Directory where reports are written.
Default value is: ${project.build.directory}/nunit-reports.
skipTest boolean - Skips unit test
Default value is: false.
testAssemblyPath String - Test Assembly Location
Default value is: ${project.build.directory}/test-assemblies.
xmlConsole boolean - Display XML to the console
Default value is: false.

Parameter Details

executionFrameworkVersion:

The framework version to run the tests: 1.1, 2.0, 3.5, 4.0
  • Type: java.lang.String
  • Required: No
  • Expression: ${executionFrameworkVersion}

forceX86:

On 64bit-systems, the tests will automatically perform in .NET 64bit-version. If you need to run your tests using 32bit (native calls, i.e.) set this option to true.
  • Type: boolean
  • Required: No
  • Default: false

integrationTest:

The artifact acts as an Integration test project
  • Type: boolean
  • Required: No

nUnitResultErrorOutputPath:

nUnitResultErrorOutputPath
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/nunit-reports/TEST-${project.build.finalName}-ERROR.txt

nUnitResultOutputPath:

nUnitResultOutputPath
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/nunit-reports/TEST-${project.build.finalName}-RESULTS.txt

nUnitXmlFilePath:

nUnitXmlFilePath
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/nunit-reports/TEST-${project.build.finalName}.xml

nunitCommand:

Specify the name of the NUnit command to be run, from within the nunitHome/bin directory.
  • Type: java.lang.String
  • Required: No

nunitHome:

The home of nunit. Use this if you 1) have not added nunit to your path and you only have MS installed; or 2) have mono installed and want to use another version of nunit.
  • Type: java.lang.String
  • Required: No

reportsDirectory:

Directory where reports are written.
  • Type: java.lang.String
  • Required: No
  • Expression: ${reportsDirectory}
  • Default: ${project.build.directory}/nunit-reports

skipTest:

Skips unit test
  • Type: boolean
  • Required: No
  • Expression: ${skipTests}
  • Default: false

testAssemblyPath:

Test Assembly Location
  • Type: java.lang.String
  • Required: No
  • Expression: ${testAssemblyPath}
  • Default: ${project.build.directory}/test-assemblies

xmlConsole:

Display XML to the console
  • Type: boolean
  • Required: No
  • Expression: ${xmlConsole}
  • Default: false