Hi Team,
Recently I was using AEM for Developing the web applications. Now I need to do testing for those web applications in AEM. Please give me an idea about the frameworks which can be integrate very easily with AEM. I need to know about Hobbes.Js framework and how to implement it. Is there any jars to download for Hobbes.JS framework to start testing phase. How can I add Hobbes.JS framework to start the testing phase.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You can check below :
Apache Sling :: Testing Sling-based applications
Initially wcm.io provided mocking implementations for JCR, OSGi and Sling. These implementations are now part of the Apache Sling project and maintained by the Sling Community:
Please go through with GEM session which Scott suggested.
Views
Replies
Total Likes
Hi,
Please check below
Hobbes.js is already available at /libs/granite/testing/clientlibs/hobbes in AEM, check below for info
Testing Your UI Using Automated Tests
There is another framework available i.e. WCM IO for Testing AEM based projects, you can check this as well
Views
Replies
Total Likes
Also - watch this GEMS session:
Views
Replies
Total Likes
I use to write test cases using Mockito. Below are some examples:
http://wcm.io/testing/aem-mock/usage.html
https://www.practicalaem.com/2016/01/19/testing-using-mockito/
http://aempodcast.com/2015/testing/unit-testing-wcmuse-classes-using-mockito/#.W4RcKZM3lTY
You can always use automation test tools (Ranorex or similar ones) to automate the testing process.
Views
Replies
Total Likes
So, apart from Hobbes is any jars needed to start testing of AEM application. How and from where to start creating test cases for the application
Views
Replies
Total Likes
Hi,
You can check below :
Apache Sling :: Testing Sling-based applications
Initially wcm.io provided mocking implementations for JCR, OSGi and Sling. These implementations are now part of the Apache Sling project and maintained by the Sling Community:
Please go through with GEM session which Scott suggested.
Views
Replies
Total Likes