Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JUnit Core 1.0.28
-
None
Description
The org.apache.sling.junit.impl.BundleTestsProvider class relies on the service.pid property for generating a unique PID with which the provider should be registered for registering tests to execute. However, the service.pid property can be missing from the service.
A more stable property, which should still provide some uniqueness, would be component.name.