Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Need help for junit implementation for video component in AEM using constructor in implementation class

Avatar

Level 4
 
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @vinuu123 ,

 

Here is a series of good video tutorials for Junit5 : https://www.youtube.com/watch?v=ZWsHhTI8h6Y

 

Here is the documentation for writing Junits : https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...

 

If you want further help with your code, will request you to post the code snippet with which you have challenges writing the code.

 

Also, here is a video reference of general best practices on how to code based on a book Clean Code by Uncle Bob (any technology - not AEM specific guidleines): https://www.youtube.com/watch?v=7EmboKQH8lM

Thanks,

Milind

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Hi @vinuu123 ,

 

Here is a series of good video tutorials for Junit5 : https://www.youtube.com/watch?v=ZWsHhTI8h6Y

 

Here is the documentation for writing Junits : https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...

 

If you want further help with your code, will request you to post the code snippet with which you have challenges writing the code.

 

Also, here is a video reference of general best practices on how to code based on a book Clean Code by Uncle Bob (any technology - not AEM specific guidleines): https://www.youtube.com/watch?v=7EmboKQH8lM

Thanks,

Milind

 

Avatar

Community Advisor

Hi ,

 

You can check this answer in the community, this deals with test cases for overlayed OOTB components.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/junit-test-cases-for-sling...