Skip to content

Commit 7f35c0a

Browse files
trancexpressiloveeclipse
authored andcommitted
Mention JUnit 5 and JUnit 6 conflicts in JDT N&N
1 parent c12d155 commit 7f35c0a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

news/4.38/jdt.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ See also:
4949

5050
[JUnit 5 New & Noteworthy in Eclipse 4.8](https://eclipse.dev/eclipse/news/4.8/jdt.html#JUnit)
5151

52+
#### JUnit 5 and JUnit 6 conflicts
53+
54+
When mixing JUnit 5 and 6 versions in JUnit test launch type and Java project classpath dependencies, the following errors can be encountered:
55+
56+
* Launch configuration dialog shows validation error: `Cannot find class 'org.junit.platform.commons.annotation.Testable' on project build path`
57+
58+
One example of this is having JUnit 6 on the project classpath but using a JUnit 5 launch.
59+
5260
---
5361
## Java Editor
5462

0 commit comments

Comments
 (0)