ExamGecko
Question list
Search
Search

Related questions











Question 30 - AD0-E134 discussion

Report
Export

Which two unit testing dependencies are generated by AEM archetype? (Select two.)

A.
JUnit
Answers
A.
JUnit
B.
Selenium
Answers
B.
Selenium
C.
PowerMock
Answers
C.
PowerMock
D.
Mockito
Answers
D.
Mockito
E.
Hobbes
Answers
E.
Hobbes
Suggested answer: A, D

Explanation:

JUnit and Mockito are two unit testing dependencies that are generated by AEM archetype. JUnit is a framework for writing and running unit tests in Java. Mockito is a framework for creating and using mock objects in unit tests. AEM archetype also adds Apache Sling Mocks and AEM Mocks Test Framework by io.wcm as dependencies for unit testing. Reference:

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wkndtutorial- develop/project-archetype/unit-testing.html?lang=en

https://experienceleague.adobe.com/docs/experience-manager-corecomponents/ using/developing/archetype/using.html?lang=en

asked 02/10/2024
PATRICK ADUSEI
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first