Which testing framework will suit for a Adobe CQ5 Project which is having some part of code in Java and some part of code in JSP for the CQ5 components?
1 Answers
There are some details of testing of apache sling components on the Sling Testing page, which will suit components within a CQ5 project
There are remote tests that can be deployed to a running CQ5 server and executed remotely (using curl for example)
There are also integration tests that create a sling launchpad instance and test against sling in-process.
Also, Testing Sling Based Applications discusses approaches to testing the various types of components such as OSGI and provides the links to mocks for common Sling classes (e.g. MockNode, MockProperty, MockResourceResolver).
Finally, if your components are just POJOs then you can just use plain old JUnit tests. For testing the interaction with the web interface of your site/application you could use something like Selenium

- 2,986
- 1
- 22
- 35