Skip to content

Commit 61f501d

Browse files
trancexpressiloveeclipse
authored andcommitted
Added common errors when mixing JUnit 5 and 6 in test plug-in launches
Fixes: #436
1 parent d2a5a59 commit 61f501d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

news/4.38/pde.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,10 @@ or update the test launch to use JUnit 6. Other unbound dependencies to JUnit Ju
3131
A more difficult to analyze problem is when a transitive dependency of the plug-in has an unbound dependency to JUnit Jupiter.
3232
The Plug-in Explorer view or the [Plug-in Dependencies](https://github.com/iloveeclipse/plugindependencies) view
3333
can be used to analyze unexpected dependencies to JUnit 6.
34+
35+
Example issues that indicate mixed JUnit 5 and 6 in the dependencies and/or package imports:
36+
37+
* Launch is executed by runs no tests or reports that no tests were found
38+
* Launch configuration dialog shows validation error: `Cannot find class 'org.junit.platform.commons.annotation.Testable' on project build path`
39+
* Runtime error: `Bundle "X" not found. Possible causes include missing dependencies, too restrictive version ranges, mixed JUnit versions, or a non-matching required execution environment.`
40+
* Runtime error: `java.util.ServiceConfigurationError: org.junit.platform.engine.TestEngine: org.junit.jupiter.engine.JupiterTestEngine not a subtype`

0 commit comments

Comments
 (0)