The missing “scoped dependencies” in PDE/OSGi is the reason why Tycho separates tests and productive code into separate module.
And
every module has its own target platform. In most projects, all module’s target platforms have the same (external) content because they have the same target platform configuration. But you are free to configure each module separately. And if the configuration
is complicated, you may want to introduce an additional parent for your tests.
Regards
Tobias
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Tonny Madsen
Sent: Freitag, 24. Mai 2013 07:07
To: Tycho user list
Subject: Re: [tycho-user] running swtbot with my eclipse target platform without shipping it
Wouldn't it be very nice, if we could separate the two sets? Have two target platforms - one for the product and one with the additional stuff needed for testing - as used in maven. And yes, I know this is not supported by PDE either...
On Fri, May 24, 2013 at 5:06 AM, Mengxin Zhu <kane.zhu@xxxxxxxxxxxxx> wrote:
Target platform always defines the plug-ins required by runtime of your product and for compiling and test purposes. Which plug-ins can be shipped with your product is defined by your .product file.
Mengxin Zhu
On 05/24/2013 05:16 AM, Peter Kahn wrote:
What's the right way to run SWT bot tests against our explicitly defined target platform?
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.
What are our options?
- multiple target platform definitions?
- component scope in target platform (similar to maven dependency scope)?
- different organization between our app and SWTbot tests to use implicit target definition?
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
|