Expand my Community achievements bar.

SOLVED

what is aem component testing?

Avatar

Level 2
 
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @chiragtakkar5 ,

Component testing is a type of software testing in which individual components of a system are examined using independent test cases to evaluate their behavior when combined with other modules. This form of testing is carried out throughout the development lifecycle and can result in benefits such as faster time-to-market and increased product stability. Static analysis, runtime checks, integration tests, and performance evaluations are examples of techniques.

More Details: 

https://brainstation-23.com/software-test-planning-strategy-for-aem-component-testing/ 

https://brainstation-23.com/testing-in-aem-a-guide-to-adobe-experience-manager-quality-assurance/ 

 

After going through these you will get an overall idea.

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hello @chiragtakkar5 ,

Component testing is a type of software testing in which individual components of a system are examined using independent test cases to evaluate their behavior when combined with other modules. This form of testing is carried out throughout the development lifecycle and can result in benefits such as faster time-to-market and increased product stability. Static analysis, runtime checks, integration tests, and performance evaluations are examples of techniques.

More Details: 

https://brainstation-23.com/software-test-planning-strategy-for-aem-component-testing/ 

https://brainstation-23.com/testing-in-aem-a-guide-to-adobe-experience-manager-quality-assurance/ 

 

After going through these you will get an overall idea.

Avatar

Community Advisor

Hey @chiragtakkar5 ,
AEM component testing is a process of testing individual AEM components to ensure they are functioning correctly and as expected. 

This article pretty much covers the whole process of it:
https://experienceleague.adobe.com/docs/experience-manager-65/developing/components/hobbes.html?lang...

Avatar

Level 2

Hey @Anmol_Bhardwaj ,

Thanks that really helped.

Well i'm new to testing in aem so could please elobarate more that what particularly the difference between aem component testing and UI testing?

And can you guide me from where i can learn this hobbes js so that i can implement it.

Thanks

 

Avatar

Community Advisor

Certainly.

In very simple terms, AEM Component testing (also called Unit Testing )primarily focuses on testing the individual components of an AEM application. This is done through Mockito/Junit/AEMComponentTesting.

 

Whereas, UI testing deals with the functional part of the component and the page, where we test whether the component is behaving/rendering as it is supposed to do, based on different authored values or style systems.