Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] running swtbot with my eclipse target platform without shipping it

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.





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...




Tonny Madsen

My profiles: Image removed by sender. LinkedIn Image removed by sender. Twitter Image removed by sender. Blogger Image removed by sender. SlideShare


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:

Hi all,

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?

Please let me know if you know of a good example.  The doc below has TBD right where I'd like more information.

When I'm done, I'll add in what I find to the doc.



Peter Kahn
Awareness - Intention - Action


tycho-user mailing list


tycho-user mailing list


Back to the top