Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] maven maven-osgi-test-plugin swtbot lots of unwanted menu items

Assuming you are using p2 target platform resolver (the default in
0.11.0), only bundles required by the test project are expected to be
present in the test runtime.

If you believe your test does not depend on the unwanted bundles
(org.eclipse.ide, org.eclipse.console, etc), please open a bugreport in
tycho bugzilla [1] and provide sample standalone project that
demonstrates the problem.

[1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Tycho

--
Regards,
Igor

On 11-04-20 12:55 PM, ravendra gupta wrote:
Hi All,


We  are using maven maven-osgi-test-plugin  to run swtbot  test.

When we are  running test through swt-test project,  GUI displaying
  lots of unwanted menu items  in menus.(Other, outline, properties,
console etc..)

We investigated and found, when tests run it includes many unwanted
plugins as required plugins like  org.eclipse.ide, org.eclipse.console,
org.eclipse. views etc.

While running swt bot test within eclipse environment we can manually
exclude these plug-ins,  our GUI looks fine and tests pass,  but  with
tycho maven-osgi-test-plugin,  I am not sure how to exclude these
unwanted plug-ins.


Any help will highly be appreciated.


thanks.


Back to the top