CQ - Writing Server-side JUnit tests
I've been trying to write a JUnit test case for one of my Java class which creates a page with some given properties in CQ. For it, it need to get reference of SlingRepository and ResourceResolverFactory. I was using http://sling.apache.org/documentation/development/sling-testing-tools.html#server-side-junit-tests-contributed-by-bundles to get an idea on how to achieve this. In the document it says that a POST to "http://HOST:PORT/system/sling/junit/" path is used to execute tests on server side. But in CQ I get a 404 error for this path.
Is there any alternative URL in CQ for this? Or will really appreciate if anyone can suggest a better approach?
Thanks