Apache Sling Testing PaxExam

Clone this repo:
  1. 346a1a8 SLING-12520 Update Pax Exam to 4.14.0 by Oliver Lietz · 5 days ago master
  2. f0b63e8 SLING-11996 Upgrade Pax TinyBundles to 4.0.0 by Oliver Lietz · 5 days ago
  3. 8513e44 SLING-12459 - Redirect sonarcloud notifications to commits@apache.sling.org by Robert Munteanu · 6 weeks ago
  4. c26877e SLING-12094 - Use GitHub for the Maven scm.url value by Robert Munteanu · 1 year, 2 months ago
  5. 504859f SLING-11962 Update to Sling Bundle Parent 51 by Oliver Lietz · 1 year, 5 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