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
BedrockMission!

Learn More

View all

Sign in to view all badges

Unit Testing in AEM - Introduction

Avatar

Avatar
Give Back 50
MVP
Vijayalakshmi_S
MVP

Likes

433 likes

Total Posts

567 posts

Correct Reply

189 solutions
Top badges earned
Give Back 50
Give Back 5
Ignite 10
Ignite 5
Ignite 3
View profile

Avatar
Give Back 50
MVP
Vijayalakshmi_S
MVP

Likes

433 likes

Total Posts

567 posts

Correct Reply

189 solutions
Top badges earned
Give Back 50
Give Back 5
Ignite 10
Ignite 5
Ignite 3
View profile
Vijayalakshmi_S
MVP

29-06-2020

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

Replies

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,123 likes

Total Posts

6,108 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,123 likes

Total Posts

6,108 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

29-06-2020

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

Avatar

Avatar
Give Back 50
MVP
Vijayalakshmi_S
MVP

Likes

433 likes

Total Posts

567 posts

Correct Reply

189 solutions
Top badges earned
Give Back 50
Give Back 5
Ignite 10
Ignite 5
Ignite 3
View profile

Avatar
Give Back 50
MVP
Vijayalakshmi_S
MVP

Likes

433 likes

Total Posts

567 posts

Correct Reply

189 solutions
Top badges earned
Give Back 50
Give Back 5
Ignite 10
Ignite 5
Ignite 3
View profile
Vijayalakshmi_S
MVP

30-06-2020

Thanks Kautuk