Back to SNAPSHOT versions after the release
2 files changed
tree: 5a47b1b3e867edd84ff6f1a2c4bca1e5460417cd
  1. src/
  2. .gitignore
  3. .sling-module.json
  4. CODE_OF_CONDUCT.md
  5. CONTRIBUTING.md
  6. Jenkinsfile
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

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.