Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] SWTBot and/or RCPTT for WTP testing

And there is the proposed change to add SWTBot: https://git.eclipse.org/r/70759
A recommendation for SWTBot: SWTBot tests require UI but mustn't run in the UI Thread. This is a bit different from usual UI Tests that do need to run in the UI Thread. So this will require a different setting in pom.xml to run those tests. Then, the simplest is to not mix execution of UI-Thread and SWTBot tests, by *creating test bundles dedicated to SWTBot tests*, and to tweak their pom.xml as described in https://wiki.eclipse.org/SWTBot/Automate_test_execution#On_a_plugin_project_project_with_Maven_and_Tycho

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

Back to the top