Apache Sling Launchpad Testing

Clone this repo:
  1. 7f25767 SLING-9830 - update setup and instructions for server-side debugging of the tests by Bertrand Delacretaz · 9 days ago master
  2. d7595fc SLING-9639 - Deprecate no longer used launchpad testing projects by Robert Munteanu · 3 weeks ago
  3. 864e1b0 Jenkins: run against Java 15 instead of 14 by Robert Munteanu · 6 weeks ago
  4. 430ac1c Disable Sonarqube, fails regurlarly and not needed for this tests-only module IMO by Bertrand Delacretaz · 8 weeks ago
  5. 414b41e Adding sonarqube badges as per SLING-9682 by Dan Klco · 9 weeks ago

Apache Sling

Build Status Test Status Sonarcloud Status JavaDoc Maven Central launchpad License

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.