|author||Bertrand Delacretaz <firstname.lastname@example.org>||Thu Oct 15 15:11:17 2020 +0200|
|committer||Bertrand Delacretaz <email@example.com>||Thu Oct 15 15:11:17 2020 +0200|
SLING-9830 - update setup and instructions for server-side debugging of the tests
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.
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.