|Re: [tycho-user] Question about possible dependency issue in tests versus workbench
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.
Back to the top