Unit Testing Hands on - For WCMUsePojo

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

21-07-2020

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

Abstract:

Prior to Sling Models, WCMUsePojo is used/recommended for performing back end operations as part of AEM component development. Writing unit test for the same involves mocking the Bindings API and providing dummy implementation.

This post starts with quick recap about WCMUsePojo and hence writing test statements for the same with simple use case.

Blog content:

https://myaemlearnings.blogspot.com/2020/07/unit-testing-hands-on-for-wcmusepojo.html

 

Replies

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

23-07-2020

Appreciate your sharing this. Making this as featured thread. 

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

23-07-2020

Thanks Kautuk