Netbeans includes JUnit 5.6 since Feb/Mar 2020, i.e. Netbeans 12: https://github.com/apache/netbeans/pull/1977
Ask build tools and IDEs to upgrade to junit-platform-launcher 1.6.x
In #1909 we've improved error reporting for engine discovery/execution failures. The relevant changes are in
DefaultLauncher which is contained in the
junit-platform-launcher artifact. Since most build tools and IDEs bundle that artifact we need to reach out to them and ask them to update to Jupiter/Vintage 5.6 (Platform 1.6).
List of projects and contacts to ping.
- [x] Ant,
JUnitLaunchertask doesn't bundle JUnit artifacts
- [x] Eclipse,
- [x] Gradle,
- [x] IntelliJ IDEA,
- [x] ~Maven Surefire/Failsafe, ~ works with Surefire 3.x
- [x] Netbeans
- [x] VS Code, work-in-progress ... vscode-java-test #975
- [x] All of the above build tools and IDEs have been upgraded
- 点赞 评论 复制链接分享
Seems like is working on VS Code lately -- is VS Code already on Platform 1.6 or higher, Johannes?
Related issue: https://github.com/microsoft/vscode-java-test/issues/975 "Support other JUnit 5 test engines / support JUnit 5 platform"点赞 评论 复制链接分享
Moved to 5.7 Backlog as not all IDEs/build tools are on JUnit Platform 1.6, resp. Jupiter 5.6.点赞 评论 复制链接分享
- weixin_39987313 4月前
All I did is to enable VS Code to run other engine tests from an editor.
Under the hood VS Code is using some Eclipse-related library to start JUnit 5 tests in a very hacky way (i.e. through a faulty command line). It basically works with no engine correctly, with Jupiter it does the simple things right.
I offered to support them when migrating to use junit-platform-launcher. As of today they have not taken me up on my offer.点赞 评论 复制链接分享
Closing since all build tools and IDEs on the list have been contacted.点赞 评论 复制链接分享
- weixin_39780962 4月前
IntelliJ doesn't bundle junit-platform-launcher anymore (about a year or even more), it downloads the launcher on tests start according to the version of the api used in the user's project.点赞 评论 复制链接分享
Thanks for the info! In that case, we're fine where IDEA is concerned.点赞 评论 复制链接分享
- weixin_39794734 4月前
Eclipse bug report to move to JUnit 5.6: bug 558873.点赞 评论 复制链接分享
Surefire issue: https://issues.apache.org/jira/browse/SUREFIRE-1750点赞 评论 复制链接分享
- weixin_39575565 4月前
Gradle has been upgraded to the 1.6.0 launcher which will be released as part of Gradle 6.4点赞 评论 复制链接分享
Thanks for letting us know! 👍点赞 评论 复制链接分享
Created https://issues.apache.org/jira/browse/SUREFIRE-1764 to update Surefire's dependency.点赞 评论 复制链接分享
- weixin_39696197 4月前
In Surefire we are resolving the version of
junit-platform-launcherin runtime. So we only need to fix it and not to upgrade it. Upgrading it would mean either breaking the users or forcing them to upgrade their POMs as well. Pls discuss it.点赞 评论 复制链接分享
In Surefire [...] Pls discuss it.
Let's move the Surefire-related discussion to https://issues.apache.org/jira/browse/SUREFIRE-1764 -- this issue collecting the state of "all" build tools and IDEs.点赞 评论 复制链接分享
will create tickets for the remaining projects from the issue description.点赞 评论 复制链接分享
Ant is "always up-to-date" as it doesn't bundle any artifact from JUnit 5 -- users are in charge to update their dependencies.点赞 评论 复制链接分享