[jbosstools-dev] Writing non-regression tests with SWTBot

Max Rydahl Andersen manderse at redhat.com
Mon Aug 18 09:40:21 EDT 2014


On 4 Aug 2014, at 10:15, Mickael Istria wrote:

> Hi,
>
> In order to provide a sustainable fix for JBIDE-18031, I'd like to 
> write a small test that reproduce the error scenario. I've tried 
> adding it to the org.jboss.tools.central.tests suite but these tests 
> seem to run in UI Thread, so it's complicated to write a good test 
> since every action of the test is blocking UI. Ideally, I'd like to 
> have tests out of the UI Thread, using SWTBot.
> Should I create a new test bundle for such tests running out of UI 
> Thread?

question for Fred - he wrote most of these tests.

But yes, if these tests cannot run with the same test runner you are 
better of with a separate plugin.

/max
http://about.me/maxandersen


More information about the jbosstools-dev mailing list