Need help for junit implementation for video component in AEM using constructor in implementation class | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by milind_bachani

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-develop/project-archetype/unit-testing.html?lang=en

 

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

 

2 replies

milind_bachani
Adobe Employee
milind_bachaniAdobe EmployeeAccepted solution
Adobe Employee
June 14, 2022

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-develop/project-archetype/unit-testing.html?lang=en

 

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

 

Anmol_Bhardwaj
Community Advisor
Community Advisor
June 14, 2022

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-models-based-on-delegation-pattern/qaq-p/350636