Adobe Experience Manager | Community
Skip to main content
New Participant
August 27, 2018
Solved

Adobe Experience Manager

  • August 27, 2018
  • 5 replies
  • 2911 views

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.
Best answer by arunpatidar

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.

5 replies

arunpatidar
arunpatidarAccepted solution
New Participant
August 28, 2018

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
New Participant
August 28, 2018

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

Singaiah_Chintalapudi
New Participant
August 27, 2018

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.

smacdonald2008
New Participant
August 27, 2018
arunpatidar
New Participant
August 27, 2018

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