erlang:test

Full name:

eu.lindenbaum:maven-erlang-plugin:2.0.0:test

Description:

A Mojo that runs test modules using eunit.

Attributes:

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

Optional Parameters

Name Type Since Description
cookie String - The cookie to use for the java and the backend node.
erlCommand String - The erlang command used to start an erlang backend node. The path must exist and the destination must be executable. If the given command does not fullfill these requirements erl is used (assuming the command is part of the hosts PATH). The path must not contain any arguments.
skipTests boolean - Setting this to true will skip the test compilation.
Default value is: false.
test String - Setting this to a module name, will only run this test case.

Parameter Details

cookie:

The cookie to use for the java and the backend node.
  • Type: java.lang.String
  • Required: No
  • Expression: ${cookie}

erlCommand:

The erlang command used to start an erlang backend node. The path must exist and the destination must be executable. If the given command does not fullfill these requirements erl is used (assuming the command is part of the hosts PATH). The path must not contain any arguments.
  • Type: java.lang.String
  • Required: No
  • Expression: ${erlCommand}

skipTests:

Setting this to true will skip the test compilation.
  • Type: boolean
  • Required: No
  • Expression: ${skipTests}
  • Default: false

test:

Setting this to a module name, will only run this test case.
  • Type: java.lang.String
  • Required: No
  • Expression: ${test}