Apache Sling Testing PaxExam

Clone this repo:
  1. c6d22a7 [maven-release-plugin] prepare for next development iteration by Oliver Lietz · 5 months ago master
  2. b9e6af3 [maven-release-plugin] prepare release org.apache.sling.testing.paxexam-3.1.0 by Oliver Lietz · 5 months ago org.apache.sling.testing.paxexam-3.1.0
  3. f8a1019 SLING-8146 Update options and versions to latest features by Oliver Lietz · 5 months ago
  4. bc05117 SLING-8589 Provide Awaitility Option by Oliver Lietz · 5 months ago
  5. 03555cc SLING-8590 Provide REST Assured Option by Oliver Lietz · 5 months ago

Build Status Test Status Maven Central JavaDocs License testing

Apache Sling Testing PaxExam

This module is part of the Apache Sling project.


This module provides test support for use with Pax Exam to test with real Sling instances – no limitations or issues due to incomplete and faulty mock implementations.

See Testing PaxExam's documentation page for details and how to use.


  • Run integration tests in a tailored Sling instance in the same module (with the build artifact under test)
  • Use different versions in build (e.g. minimal) and tests (e.g. latest)
  • Overriding of versions
  • Adjusting of provided Options (ModifiableCompositeOptions)
  • Build bundles with test content and OSGi DS services on-the-fly (no need for extra modules)
  • Start Docker containers via Testcontainers