Apache Sling Testing PaxExam

Clone this repo:
  1. 48ca871 SLING-13156 Provide mail Option by Oliver Lietz · 4 months ago master
  2. 2c26531 SLING-13155 Provide activation Option by Oliver Lietz · 4 months ago
  3. d44c3e1 SLING-13156 Provide mail Option by Oliver Lietz · 4 months ago
  4. f74f021 SLING-13155 Provide activation Option by Oliver Lietz · 4 months ago
  5. cce840b SLING-12574 Update options and versions by Oliver Lietz · 4 months 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