Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Question about possible dependency issue in tests versus workbench

Thanks Michael! It looks like there are some differences there, so I'll give it a try.


On Aug 31, 2016 11:21, "Mickael Istria" <mistria@xxxxxxxxxx> wrote:

You should compare your Tycho Surefire runtime with the JUnit Plugin Test Run configuration. The Run Configuration in the workbench probably adds some extra bundles to the test runtime that are necessary for your test to succeed and that would need to be added to the surefire runtime.
You can either put this dependencies as Required-Bundle in the MANIFEST.MF (so it's portable), or define it in the pom.xml <additionalDependencies> tag of tycho-surefire-plugin (Maven-specific).
At any time, you can see exactly which bundle are part of your Surefire test looking in <testBundle>/target/work/configuration/config.ini.

Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top