Bug 61796 - Support JUnit5
Summary: Support JUnit5
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Optional Tasks (show other bugs)
Version: 1.10.1
Hardware: All All
: P2 enhancement (vote)
Target Milestone: 1.10.3
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-21 22:48 UTC by Alexander Veit
Modified: 2018-03-24 06:15 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Veit 2017-11-21 22:48:37 UTC
Currently the JUnit and JUnitReport tasks do not support JUnit5.

Unfortunately the JUnit project does not provide JUnit5 tasks for Apache Ant either.

Please bring the flexibility and robustness of Ant to JUnit5 by supporting it with Ant tasks.
Comment 1 Jaikiran Pai 2017-12-15 12:38:40 UTC
Some work has started to support it https://www.mail-archive.com/dev@ant.apache.org/msg46315.html
Comment 2 Alexander Veit 2017-12-17 15:26:05 UTC
This is good news. Thank you very much!
Comment 3 Jaikiran Pai 2018-03-24 06:15:04 UTC
An initial version of this support will be available in 1.10.3 release of Ant. A new "junitlauncher" task has been introduced to support this. More about the task can be read in the junitlauncher task manual. This task will be enhanced in future releases of Ant, to include support for fork mode and such. 

P.S: A release candidate for 1.10.3 of Ant is now available which has this support. If you are interested in trying this out against the release candidate, follow this mailing list thread https://www.mail-archive.com/user@ant.apache.org/msg42753.html and report any issues in the user mailing list.