Package org.apache.sling.testing.mock.sling.junit5


@Version("1.0.0") package org.apache.sling.testing.mock.sling.junit5
JUnit 5 extensions for Sling context.
  • Class
    Description
    Sling Mock parameter object with resource resolver type defaulting to ResourceResolverType.RESOURCERESOLVER_MOCK.
    Builder class for creating SlingContext instances with different sets of parameters.
    Callback interface for application-specific setup and teardown operations to customize the SlingContext JUnit parameter context.
    JUnit 5 extension that allows to inject SlingContext (or subclasses of it) parameters in test methods, and ensures that the context is set up and teared down properly for each test method.