eu.lindenbaum.maven
Class TestMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestMojo()
           
 
Method Summary
 void execute()
           
 
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
 

Constructor Detail

TestMojo

public TestMojo()
Method Detail

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.