Expand my Community achievements bar.

Unit Testing in AEM - Introduction

Avatar

Community Advisor

Indexing in AEM - Indexing modes and Index Types (31).png

Abstract:

Java class that we write as part of AEM involves Sling API/JCR API/AEM related APIs and it all ultimately targets the content on our repository. In other words, the logic revolves around the content which in AEM context, is a Resource/Node and its related properties (may it be a Sling model/WCMUsePojo/Sling Servlets/OSGI component/any related for that matter) 

This post starts with

  • Quick recap of JUnit framework
  • Mocking
  • Mock APIs available related to AEM.
  • Need to mock resource definitions

Blog Content :

https://myaemlearnings.blogspot.com/2020/06/unit-testing-in-aem-introduction.html

2 Replies

Avatar

Administrator

Thank you for the post. I have marked it as featured.



Kautuk Sahni