erlang:test

Full name:

net.sf.maven-erlang:erlang-plugin:1.0-SNAPSHOT:test

Description:

Run the test cases.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: test.

Optional Parameters

Name Type Since Description
codeCoverage boolean - If we should use code coverage.
debugInfo boolean - If debugging information should be included. Default value is: false.
dialyzerOptions String[] - Additional dialyzer options.
dialyzerWarningsAreErrors boolean - If dialyzer warnings are to be considered as errors. Default value is: false.
dialyzerWithDependencies boolean - If dialyzer should be run with the dependencies. This is *much* slower. Default value is: false.
erlPath String - Path to the erlang installation directory.
erlcOptions String[] - Additional compilation options.
eunitPath String - Path to eunit.
eunitXml boolean - If eunit is capable of generating XML reports.
failIfNoTests boolean - Set this to "true" to cause a failure if there are no tests to run. Defaults to false.
forceDialyzer boolean - Set this to 'true' to force running dialyzer, i.e. even if beams are not newer than latest run.
libDirectory File - Directories where dependencies are unpacked. This directory contains OTP applications (name-version directories, with include and ebin sub directories).
maven_test_skip boolean - Set this to 'true' to skip running tests. This also skips dialyzer.
skipTests boolean - Set this to 'true' to skip running tests.
surefireReports boolean - If we should generate surefire-compatible reports.
surefireReportsDirectory File - Directory where the reports should be created.
test String - Set this to the name of a single test case to run. Defaults to run all test cases.
testBeamDirectory File - Directory where the beam files are created.
testFailureIgnore boolean - Set this to true to ignore a failure during testing.
testSuffix String - Test files suffix.

Parameter Details

codeCoverage :

If we should use code coverage.
  • Type: boolean
  • Required: No

debugInfo :

If debugging information should be included.
  • Type: boolean
  • Required: No
  • Default: false

dialyzerOptions :

Additional dialyzer options.
  • Type: java.lang.String[]
  • Required: No

dialyzerWarningsAreErrors :

If dialyzer warnings are to be considered as errors.
  • Type: boolean
  • Required: No
  • Default: false

dialyzerWithDependencies :

If dialyzer should be run with the dependencies. This is *much* slower.
  • Type: boolean
  • Required: No
  • Default: false

erlPath :

Path to the erlang installation directory.
  • Type: java.lang.String
  • Required: No

erlcOptions :

Additional compilation options.
  • Type: java.lang.String[]
  • Required: No

eunitPath :

Path to eunit.
  • Type: java.lang.String
  • Required: No

eunitXml :

If eunit is capable of generating XML reports.
  • Type: boolean
  • Required: No

failIfNoTests :

Set this to "true" to cause a failure if there are no tests to run. Defaults to false.
  • Type: boolean
  • Required: No
  • Expression: ${failIfNoTests}

forceDialyzer :

Set this to 'true' to force running dialyzer, i.e. even if beams are not newer than latest run.
  • Type: boolean
  • Required: No
  • Expression: ${forceDialyzer}

libDirectory :

Directories where dependencies are unpacked. This directory contains OTP applications (name-version directories, with include and ebin sub directories).
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/lib/

maven_test_skip :

Set this to 'true' to skip running tests. This also skips dialyzer.
  • Type: boolean
  • Required: No
  • Expression: ${maven.test.skip}

skipTests :

Set this to 'true' to skip running tests.
  • Type: boolean
  • Required: No
  • Expression: ${skipTests}

surefireReports :

If we should generate surefire-compatible reports.
  • Type: boolean
  • Required: No

surefireReportsDirectory :

Directory where the reports should be created.
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/surefire-reports

test :

Set this to the name of a single test case to run. Defaults to run all test cases.
  • Type: java.lang.String
  • Required: No
  • Expression: ${test}

testBeamDirectory :

Directory where the beam files are created.
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/test

testFailureIgnore :

Set this to true to ignore a failure during testing.
  • Type: boolean
  • Required: No
  • Expression: ${maven.test.failure.ignore}

testSuffix :

Test files suffix.
  • Type: java.lang.String
  • Required: No
  • Expression: _test