-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OSGi test classpath support #1619
base: master
Are you sure you want to change the base?
Conversation
Similar to what we have for OSGi annotations, PDE should have OSGi Testing Support as it is a great library for testing OSGi applications. The most hindering thing in this regard is that it is rater complex to setup until one can make the first steps. This now adds a new classpath contributor that detects if a PDE project is already using JUNIT classpath container and then adds OSGi test dependencies automatically as test dependencies if they are part of the target platform or alternatively from the running platform. See eclipse-pde#877
@@ -28,6 +28,13 @@ | |||
<import plugin="org.bndtools.templates.template"/> | |||
<import plugin="biz.aQute.repository"/> | |||
<import plugin="bndtools.jareditor"/> | |||
<import plugin="org.osgi.test.common"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably become a dedicated feature for easier inclusion in other target platforms and to have an opt-in.
Test Results 42 files - 243 42 suites - 243 13s ⏱️ - 48m 15s Results for commit b54cb7b. ± Comparison against base commit 975f72b. This pull request removes 3558 tests.
|
Similar to what we have for OSGi annotations, PDE should have OSGi Testing Support as it is a great library for testing OSGi applications. The most hindering thing in this regard is that it is rater complex to setup until one can make the first steps.
This now adds a new classpath contributor that detects if a PDE project is already using JUNIT classpath container and then adds OSGi test dependencies automatically as test dependencies if they are part of the target platform or alternatively from the running platform.
See
Requires: