Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

JUnit test case

Avatar

Level 4

I have a service for that i need to write a JUnit in AEM.

Can any one give me some example regarding.

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Would love to know exactly what you are looking for . But may be for menatime this would help you https://docs.adobe.com/content/ddc/en/gems/From-Unit-Testing-to-Integration-Test-of-an-AEM-Applicati...

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Would love to know exactly what you are looking for . But may be for menatime this would help you https://docs.adobe.com/content/ddc/en/gems/From-Unit-Testing-to-Integration-Test-of-an-AEM-Applicati...

Avatar

Level 10

When you write a Maven Archetype project - you get sample test classes that lets you write tests. See "How can I test my AEM Code?" here; http://scottsdigitalcommunity.blogspot.ca/2017/02/adobe-aem-tips-and-tracks-that-are-not.html