eu.lindenbaum.maven
Class TestMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
eu.lindenbaum.maven.TestMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public final class TestMojo
- extends org.apache.maven.plugin.AbstractMojo
Mojo
running test cases.
This Mojo
will either run a specific test case (if the user specified
one using -Dtest=test_module_test
) or run all test cases found in the
AbstractErlangMojo.srcTestErlang
directory.
The user can also choose to skip testing by specifying -DskipTests
. A
test code coverage will automatically be applied. A report about the test
coverage may be created using the CoverageReport
.
- Author:
- Olivier Sambourg, Tobias Schlager , Olle Törnström
- See Also:
CoverageReport
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestMojo
public TestMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2010 Lindenbaum GmbH. All Rights Reserved.