test:test

Runs NUnit tests

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Automatically executes within the lifecycle phase: test

Optional Parameters

Name Type Description
assemblyResolver AssemblyResolver No description.
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}${file.separator}nunit-reports.
skipTest boolean Skips unit test Default value is false.
testAssemblyPath String Test Assembly Location Default value is ${project.build.directory}${file.separator}test-assemblies.
xmlConsole boolean Display XML to the console Default value is false.

Parameter Details

assemblyResolver

No Description.

  • Type: org.apache.maven.dotnet.artifact.AssemblyResolver
  • 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}${file.separator}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}${file.separator}test-assemblies

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