How to Test a Multifield Component in AEM using JUnit | Community
Skip to main content
VeenaVikraman
Community Advisor
Community Advisor
August 3, 2023

How to Test a Multifield Component in AEM using JUnit

  • August 3, 2023
  • 1 reply
  • 530 views
AEM Discussions

How to Test a Multifield Component in AEM using JUnit by Veena Vikraman


Overview

In the Experience Community, there was a question about how to write JUnit for a multifield in an AEM component. Many of us struggle with JUnit in AEM due to its complex APIs and annotations. However, except for some scenarios, JUnit in AEM is not that complex. Read more on how you can write Junit for a Multifield Read more 


Q&A

Please use this thread to ask questions relating to this article

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

1 reply

Mahedi_Sabuj
Community Advisor
Community Advisor
August 15, 2023

Hi @veenavikraman, I've made numerous attempts to perform unit tests on the @ChildResource annotation, but unfortunately, never succeeded. I appreciate your insights shared in this context.

Mahedi Sabuj