Apache Sling Testing PaxExam

Clone this repo:
  1. 7d02fb7 add missing OSGi Configuration Admin required by HttpComponents to restassured by Oliver Lietz · 7 weeks ago master
  2. 84b36e5 SLING-9318 Provide HttpComponents Client Option by Oliver Lietz · 8 weeks ago
  3. 903526b SLING-9128 Update Pax Exam to 4.13.3 by Oliver Lietz · 8 weeks ago
  4. 7141c3f SLING-9315 Update to Sling Bundle Parent 38 by Oliver Lietz · 8 weeks ago
  5. 6eb521d SLING-9305 Provide Commons Messaging Mail Option by Oliver Lietz · 8 weeks ago

Build Status Test Status Maven Central JavaDocs License testing

Apache Sling Testing PaxExam

This module is part of the Apache Sling project.

Overview

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.

Features

  • 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