One approach is to use the Sling test runner to run JUnit tests through a browser. This is the approach you are talking about. We had to first install the code in this JAR ( org.apache.sling.junit.core ) in order to add code that allows the URL you provided to work. Once this code exists, this URL will allow you to run tests using the test runner built into the page to run / display the tests:http://localhost:4502/system/sling/junit/). , - Intellij IDE Java- CQ JUnit, IDE JUnit. Eclipse. , IDE .
, / CQ, SlingRepository ResourceResolverFactory, - , , Resource, ResourceResolver, Node . CQ (http://helpx.adobe.com/experience-manager/kb/HowToUseCQ5AsMavenRepository.html), CQ Maven. CQ JAR, Java, , , CQ.
, - - Intellij IDE. IDE, , CQ, , Java ( , , , , ..). Sling test runner, .
:
- CQ Maven - - Maven .
- script , , .
- CQ JAR - - CQ Java.