Expand my Community achievements bar.

SOLVED

Adobe Experience Manager

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

You can check below :

Apache Sling :: Testing Sling-based applications

Mocking stack

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.



Arun Patidar

View solution in original post

5 Replies

Avatar

Community Advisor

Hi,

Please check below

Hobbes.js is already available at /libs/granite/testing/clientlibs/hobbes in AEM, check below for info

Hobbes.js Index

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

wcm.io Testing | Testing



Arun Patidar

Avatar

Community Advisor

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.

Avatar

Level 2

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

Avatar

Correct answer by
Community Advisor

Hi,

You can check below :

Apache Sling :: Testing Sling-based applications

Mocking stack

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.



Arun Patidar