Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Pure E4 RCP application and SWTBot testing

You should try with the application parameter as it seems you're building an application


On Mon, Sep 2, 2013 at 12:35 PM, Steve Jones <steve@xxxxxxxxxxxxxxxxxx> wrote:

I've created the default E4 RCP demo application using the project wizard in Eclipse Kepler and have an additional fragment that contains some simple SWTBot UI tests.

The tests run OK from within the Eclipse IDE though I do have to tweak the run configuration to get it to run the RCP product instead of the default workbench.

When I try to run the tests using Tycho the default workbench is instantiated and the tests fail.

I can see that the tycho-surefire-plugin has a zillion configuration parameters. The main ones of interest (I think) are the <product> and <application> properties. I've been playing around with these but so far without success.

Can anyone tell me what I need to do to get the the tycho-surefire-plugin to run the tests? A link to a working example would be fantastic.

Thanks, Steve
tycho-user mailing list


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

Back to the top