Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Need help for developing testing framework

Avatar

Level 4

Hi Friends,

I am working on my project to come up with a testing framework. can someone share any implementation of developing easymock and pwermock frameworks.

Regards

Pr@veen 

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

you could have a look at the testing in place for ACS AEM Commons[0] seems to be some power mock in there

Regards,

Opkar

[0] https://github.com/Adobe-Consulting-Services/acs-aem-commons/tree/master/bundle/src/test

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Hi,

you could have a look at the testing in place for ACS AEM Commons[0] seems to be some power mock in there

Regards,

Opkar

[0] https://github.com/Adobe-Consulting-Services/acs-aem-commons/tree/master/bundle/src/test

Avatar

Administrator

Hi

As mentioned by Opkar, Check out ACS AEM Commons.It uses a combination of Mockito, PowerMock, and Sling Mocks

Link:- https://github.com/Adobe-Consulting-Services/acs-aem-commons

You may also like to see "Mockito", i know some teams using it.

 

~kautuk



Kautuk Sahni