CQ5 Junit test cases for OSGI services
Hi,
I am trying to write junit test cases for my osgi services. I tried to follow the below sling testing tool.
http://sling.apache.org/documentation/development/sling-testing-tools.html
But this is not very intuitive.
Here is what I did to set it up .
- Added maven dependency.
<dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.junit.core</artifactId> <version>1.0.8</version> </dependency>
- Install the bundle from Felix console.
Now I tried accessing http://localhost:8080/system/sling/junit/ but this gives 404 error.
Am I missing anything here ?