Registry / testing / cq-testing

cq-testing

JSON →
library5.6.0javamavenunverified

Provides utility classes for automated testing of Adobe CQ/AEM applications.

<dependency> <groupId>com.day.cq</groupId> <artifactId>cq-testing</artifactId> <version>5.6.0</version> </dependency>
INSTALL
IMPORT
SIG · CQ-TESTING
C
cq-testing
testingjavav5.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CQTestRule
com.day.cq.testing.junit.rules.CQTestRule

Uses the CQTestRule JUnit rule to set up an AEM testing environment.

import com.day.cq.testing.junit.rules.CQTestRule; import org.junit.Rule; import org.junit.Test; public class MyTest { @Rule public CQTestRule cqTestRule = new CQTestRule(); @Test public void testSomething() { // test logic } }
Debug
Known issues
breakingCQ testing utilities are specific to Adobe Experience Manager (AEM) and may not work with other platforms.
fix
Ensure your project is an AEM application.
affects: *
Upgrade
Version history
5.6.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
cq-testing — mvn dependency:get cq-testing · libregistry