Unit Testing in AEM - Hands On | Community
Skip to main content
Vijayalakshmi_S
Level 10
Jul 13, 2020 10:19 PM UTC

Unit Testing in AEM - Hands On

Abstract:

Creating Test Java Class as part of AEM application involves

  • Creating JUnit Test case from our IDE
  • Creating AemContext (from io.wcm.testing.mock.aem.junit5.*)
  • Implement setUp/@BeforeEach method for creating test fixture
  • Implement methods to be tested

This post illustrate the above steps in detail and few sample snippets/test statements.

Blog Content :

https://myaemlearnings.blogspot.com/2020/07/unit-testing-in-aem-hands-on.html

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

kautuk_sahni
Employee
Jul 14, 2020 6:19 AM UTC

Thank you for sharing this content here. It is always great to read your blogs

Translate
Kautuk Sahni
Vijayalakshmi_S
Level 10
Jul 14, 2020 1:34 PM UTC

Thanks so much Kautuk

Translate