top of page

Junit Test Cases in AEM

Junit in AEM with power-mock.

Maven dependency

<dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <version>1.7.1</version> </dependency>

OR

How to run the test case in AEM

bottom of page