-
Notifications
You must be signed in to change notification settings - Fork 121
Validate that a JUnit 5 launch has no dependencies to JUnit 6 bundles #2101
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
base: master
Are you sure you want to change the base?
Conversation
|
@laeubi do you mean something like this? Coming from your comment here: #2092 (comment) Or we report errors in some way instead of removing the candidate? We do enter the new code with this in the But removing the JUnit 6 bundle doesn't seem to fix the launch. There is no error dialog but still no tests are executed. |
Test Results36 files - 735 36 suites - 735 19s ⏱️ - 50m 42s Results for commit 5544b96. ± Comparison against base commit 5878cb4. This pull request removes 3586 tests.♻️ This comment has been updated with latest results. |
2ad2daa to
84cefb2
Compare
|
If I don't skip |
...rg.eclipse.pde.launching/src/org/eclipse/pde/launching/JUnitLaunchConfigurationDelegate.java
Outdated
Show resolved
Hide resolved
84cefb2 to
21afe75
Compare
...lipse.pde.launching/src/org/eclipse/pde/launching/JUnitEclipsePluginValidationOperation.java
Outdated
Show resolved
Hide resolved
...lipse.pde.launching/src/org/eclipse/pde/launching/JUnitEclipsePluginValidationOperation.java
Outdated
Show resolved
Hide resolved
...lipse.pde.launching/src/org/eclipse/pde/launching/JUnitEclipsePluginValidationOperation.java
Outdated
Show resolved
Hide resolved
b5694f1 to
a675712
Compare
...lipse.pde.launching/src/org/eclipse/pde/launching/JUnitEclipsePluginValidationOperation.java
Outdated
Show resolved
Hide resolved
...lipse.pde.launching/src/org/eclipse/pde/launching/JUnitEclipsePluginValidationOperation.java
Outdated
Show resolved
Hide resolved
b19fd69 to
4be4962
Compare
6638c00 to
ce96f32
Compare
|
With The dialog is:
With removing the optional resolution check and running
@laeubi WDYT? |
ce96f32 to
397833e
Compare
|
The text might be a bit improved but that's something that can be done later, beside that it looks good and will allow the user to identify the issue. What do you think about
I think we should just state this as is and not add "may" .. from the second picture we maybe like to record the offending resource only once, I assume the same bundle has two requirements that can cause problems. |
397833e to
0b9a130
Compare
0b9a130 to
ffce646
Compare
This change introduces support for custom OSGi ResolverHooks in the PDE launch and validation workflow, specifically enabling exclusion of JUnit 6 bundles when running JUnit 5 tests. The changes add a mechanism to inject a ResolverHook into the bundle validation process and implement a hook that filters out JUnit 6 bundles, improving compatibility and reliability of JUnit 5 plug-in test launches. Fixes: eclipse-pde#2045
ffce646 to
5544b96
Compare



This pull request introduces support for custom OSGi
ResolverHooks in the PDE launch and validation workflow, specifically enabling exclusion of JUnit 6 bundles when running JUnit 5 tests. The changes add a mechanism to inject aResolverHookinto the bundle validation process and implement a hook that filters out JUnit 6 bundles, improving compatibility and reliability of JUnit 5 plug-in test launches.