The product or application specified in configuration section of surefire are most probably on another bundle.
Now your test plugin should be able to access the application/product.
In case you have the extension points and tests in the same plugin/bundle you still have to do 2nd step.
- Add the bundle as dependency to the plugin (in MANIFEST.MF) for which you have written the surefire configuration.
- Also add org.eclipse.equinox.ds if you have declared the product/application through extension points.
Now your test plugin should be able to access the application/product.
In case you have the extension points and tests in the same plugin/bundle you still have to do 2nd step.