Apache Sling Testing PaxExam

Clone this repo:
  1. 05031e9 SLING-10676 - remove SECURITY.md which is not needed by Bertrand Delacretaz · 15 hours ago master
  2. d169c36 SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 2 days ago
  3. f68a896 SLING-10490 Add jacoco command when set to base configuration by Oliver Lietz · 6 weeks ago
  4. f939516 SLING-9929 Use PaxExamServer for HTTP-based integration testing by Oliver Lietz · 6 weeks ago
  5. 845dd1a SLING-10492 Provide Pax Logging Logback Option by Oliver Lietz · 6 weeks ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central testing License

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