Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Running UI tests without starting a full-blown workbench

On Fri, Aug 2, 2019 at 9:36 AM Andreas Sewe <sewe@xxxxxxx> wrote:
but I couldn't get the display.readAndDispatch()/display.sleep() loop to

I suggest you look into SWT test cases (in eclipse.platform.swt Git repo) for examples and see how this is handled.

Next I tried setting up my own dummy IApplication and registering it in
my UI test's fragment.xml, but despite configuring the <application>
with the tych-surefire-plugin, the plugin cannot find it:

Is the bundle that provides the application a dependency of your test plugin? If not, make sure you tweak the target-platform-configuration to have that bundle part of the dependency resolution, or just declare a dependency to it in your test if it's acceptable.

Back to the top