Apache Sling Launchpad Testing

Clone this repo:
  1. 43bb673 SLING-10676 - remove SECURITY.md which is not needed by Bertrand Delacretaz · 2 days ago master
  2. 358d8a2 SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 3 days ago
  3. 3488230 SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 3 days ago
  4. e68051d mvn clean launcher folder by Bertrand Delacretaz · 8 months ago feature/SLING-10383
  5. 7f25767 SLING-9830 - update setup and instructions for server-side debugging of the tests by Bertrand Delacretaz · 10 months 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.