Adobe Experience Manager | Community
Skip to main content
Level 2
Aug 27, 2018 3:39 PM UTC
Solved

Adobe Experience Manager

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 28, 2018 10:48 AM UTC

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

5 replies

arunpatidar
arunpatidarAccepted solution
New Participant
Aug 28, 2018 10:48 AM UTC

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.

Translate
Arun Patidar
Level 2
Aug 28, 2018 10:36 AM UTC

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

Translate
Singaiah_Chintalapudi
Level 7
Aug 27, 2018 8:18 PM UTC

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.

Translate
smacdonald2008
Level 10
Aug 27, 2018 8:03 PM UTC

Also - watch this GEMS session:

From Unit Testing to Integration Test of an AEM Application

Translate
arunpatidar
New Participant
Aug 27, 2018 7:19 PM UTC

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

Translate
Arun Patidar