Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] SWTBot + Tycho

Your test bundle should have a dependency to the plugin where the product is defined, is it the case


On Fri, Sep 5, 2014 at 4:12 PM, BERNARD, Alain <alain.bernard@xxxxxxxxxx> wrote:



We have a problem while setting up our Tycho configuration to include some SWTBot tests on our application. The tests run properly when launched through "Run As > SWTBot Test" but not when included in the Tycho build.


We have a product with ID "fooProduct" which runs the application "org.eclipse.ui.ide.workbench". The product is feature-based and relies on "org.eclipse.platform" feature (v4.4.0, Luna). We have also included in the pom.xml of the test plugin the following instructions:







            <version>${tycho-version}</version> < !-- we are using Tycho 0.21.0 -->




                <!-- use our product and application to launch the tests -->




                         <!-- product IU under test -->














When running the Tycho build (with goals ‘clean install’), the test fails with the message “Could not find a menu within the shell 'Shell with text {Shell {}}' matching 'with mnemonic 'File''” and in the logs we can see that Eclipse failed to load our product:

!ENTRY 0 0 2014-09-05 15:40:44.128

!MESSAGE Product fooProduct could not be found.


We looked at the list of bundles that are present in the “configuration” directory


It seems that we are doing something wrong in our configuration but we cannot figure out what is the problem. Can someone help us?


Thank you a lot in advance!



The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.

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


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top