The GreenPepper Maven plugin is used during the Preintegration test phase of the build lifecycle to compile and copy the fixtures classes of an application. By default, it copies the classes to:
${project.build.directory}/fixture-test-classes/.
The GreenPepper Maven plugin is then used during the Integration test phase of the build lifecycle to execute the specifications of an application. It generates reports in plain HTML file format (*.html). By default, these files are generated in:
$basedir/target/greenpepper-reports/.
The GreenPepper Maven plugin is used during the Postintegration test phase of the build lifecycle to create the fixtures jar of an application. By default, it generates a jar in:
$basedir/target/.
Goals overview
The GreenPepper Maven plugin has 5 goals:
Usage
Click here to find instructions on how to use the GreenPepper Maven plugin.
Examples
To better understand the usage of the GreenPepper Maven plugin, look at the following examples:
GreenPepperOpen pom.xml
Specification documents in HTML files