wcm.io Testing

Helper tools for supporting Unit Tests, Integration test and test automation in AEM-based projects.


  • AEM Mocks: Mock implementations for running unit tests in AEM context without having to run a real AEM or Sling instance:
  • Mock Helper: Helper for setting up Mock contexts for wcm.io subprojects.
  • JUnit Commons: Common extensions of JUnit 4 for supporting AEM Mocks JUnit 4 integration.

Mocking stack

Initially wcm.io provided mocking implementations for JCR, OSGi and Sling. These implementations are now part of the Apache Sling project and maintained by the Sling Community:

GitHub Repository

Sources: https://github.com/wcm-io/wcm-io-testing

Back to top

Version: 1.2.0-SNAPSHOT. Last Published: 2019-12-06.