JUnit test case | Community
Skip to main content
Ricky99999
Level 4
January 2, 2018
Solved

JUnit test case

  • January 2, 2018
  • 2 replies
  • 1751 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by VeenaVikraman

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-Application/_jcr_content/par/…

2 replies

VeenaVikraman
Community Advisor
VeenaVikramanCommunity AdvisorAccepted solution
Community Advisor
January 2, 2018

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-Application/_jcr_content/par/…

smacdonald2008
Level 10
January 2, 2018

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