Apache Sling Launchpad Testing

Clone this repo:
  1. ce90d87 format fix by Bertrand Delacretaz · 3 months ago master
  2. 8ae37e9 Update individual tests instructions by Bertrand Delacretaz · 3 months ago
  3. 2391432 Do not skip sonar, the module is indeed registered at by Bertrand Delacretaz · 5 months ago
  4. 4522ee4 Skip Sonar analysis, I don't think it makes sense for this module and causes an UNSTABLE build due to sling-tooling-jenkins changes by Bertrand Delacretaz · 6 months ago
  5. 1b5445d Some flakiness in builds, setup daily to observe by Bertrand Delacretaz · 7 months ago

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 sling-org-apache-sling-launchpad-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 start a Sling instance with the exact same setup used in the full build of this module, use

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

Adding -Dsling.debug.options="<debug options>" for server-side debugging if needed.

Use CTRL-C to stop that instance.

The tests of the sling-org-apache-sling-launchpad-integration-tests module can then be run against this instance, as described there.