Apache Sling Launchpad Testing
This module is part of the Apache Sling project.
It builds a Sling instance using the Sling Starter Feature which has the same version has this module, and runs integration tests against it via HTTP.
The tests are provided by the sibling sling-org-apache-sling-launchpad-integration-tests module.
How to execute and debug individual tests
To start a Sling instance with the exact same setup used in the full build of this module, run
mvn clean package
and then use
java -jar target/dependency/org.apache.sling.feature.launcher.jar -f target/slingfeature-tmp/feature-testing-oak_tar.json
To start the Sling instance to test on port 8080 by default, using appropriate
java options for server-side debugging
as needed. CTRL-C stops that instance.
The tests of the sling-org-apache-sling-launchpad-integration-tests module can then be run against this instance, as described in the README of that module.