Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
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