SLING-7936 - Execute module integration tests in the launchpad-testing module

Execute ITs from the servlets.get module. For now, the dependency is added
manually to the POM but it should rather inferred by the slingstart-maven-plugin.

Not sure if the maven-surefire-plugin configuration can be automatically augmented.
1 file changed
tree: 968c4d2b8f132885c3169f91fdca5b974c35a077
  1. .gitignore
  2. .sling-module.xml
  7. pom.xml
  8. src/

Build Status Test Status Maven Central JavaDocs License launchpad

Apache Sling Launchpad Testing

This module is part of the Apache Sling project.

This module builds a Sling instance using bundles from the trunk, and runs integration tests against it via HTTP.

Default build with integration tests

The integration tests are provided by the sibling integration-tests module. By default the Sling instance to test is started, including a few test-specific bundles, the integration tests are executed and the instance is stopped.

Executing individual tests

To run individual tests against this instance, with the exact same setup used in the full build, use

mvn clean install -Dlaunchpad.keep.running=true -Dhttp.port=8080 -Ddebug

The -Ddebug option enables server-side debugging of the instance under test, on port 8000. It can be omitted, of course.

Use CTRL-C to stop that instance.

See the README.txt in the integration-tests module for how to run specific tests against that instance.