Tuesday, April 23, 2013

Surefire doesn't run the product/application specified

The product or application specified in configuration section of surefire are most probably on another bundle.
  1. Add the bundle as dependency to the plugin (in MANIFEST.MF) for which you have written the surefire configuration.
  2. 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.

No comments:

Post a Comment