[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Good example for an automated UI-Test in Platform



On Fri, Jul 20, 2018 at 9:35 AM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi,

I think if you want to test the reactivity of UI, the best approach is to create a JUnit Test Plugin that would run in UI and programatically manipulate the widgets. You'll need to use new DisplayHelper(...).waitForCondition(...) to leave time to the events to be processed and trigger their reactions through listeners.
You may also use Eclipse RedDeer project, which is in the target platform. But I'm not aware of an example test in Platform code-base for this at the moment.

There is one in the works https://git.eclipse.org/r/#/c/124583/ . Hopefully, I'll get to it soon enough (or someone else will be faster than me).
Â

Cheers,

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev



--
Alexander Kurtakov
Red Hat Eclipse Team