|Re: [tycho-user] running swtbot with my eclipse target platform without shipping it|
On 05/23/2013 11:16 PM, Peter Kahn wrote:
We are creating an eclipse app and have swtbot plugins to run tests against it. If we add our custom plugins, SWTbot plugins and our SWTbot tests to the target platform we can run the tests against our app. This also means we would ship the tests with the app.I don't think it means you have to ship test with the application. What you ship as part of your application (the packaging) is usually controlled by the category.xml or .product file. If you don't put SWTBot not tests in those files, they're not shipped.
On 05/24/2013 07:07 AM, Tonny Madsen wrote:
Actually, you can have 2 (runtime + test) different target-platforms and build your actual business code with "runtime TP" and you build and run your tests with the "test TP" in the same reactor. It's just a matter of overriding the target-platform-configuration in the poms.
There's also a way to make test TP an extension of runtime TP. Although TP has to be built and installed separately ( a side effect of  I guess), we wrote a Mojo that merges target definition and allow a target to be built on top of the other  .
That allow us to have stacked Target Platforms as an implementation of "scopes".
Back to the top