Class SCoverageTestMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.scoverage.plugin.SCoverageTestMojo
All Implemented Interfaces:
ContextEnabled, Mojo

@Mojo(name="test", threadSafe=true) @Execute(lifecycle="scoverage", phase=TEST) public class SCoverageTestMojo extends AbstractMojo
Executes forked scoverage life cycle up to test phase.

In forked scoverage life cycle project is compiled with SCoverage instrumentation and unit tests are executed.
Since:
1.2.0
Author:
Grzegorz Slowikowski
  • Constructor Details

    • SCoverageTestMojo

      public SCoverageTestMojo()
  • Method Details

    • execute

      public void execute()
      Executes test phase in forked scoverage life cycle.