- All Implemented Interfaces:
- CdsMojoLogger, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="addIntegrationTest",
aggregator=true)
public class AddIntegrationTestMojo
extends AbstractCdsMojo
Adds an integration test module to the CAP Java project. The module is created in the
./integration-tests folder and an entry to the list of modules in the parent pom.xml is added.
Call mvn cds:addIntegrationTest or mvn com.sap.cds:cds-maven-plugin:addIntegrationTest to add an
integration test module.
It automatically detects the OData version of the CAP Java project and adds the corresponding integration test
class.
Note: This goal can only be executed from the command line.
- Since:
- 1.5.0