One thing to do is to update the JUnit spec to include the new JUnit 5 support, I think:
http://netbeans-vm.apache.org/synergy/client/app/#/title/junit_testing_specification/ Gj On Thu, Sep 20, 2018 at 4:54 PM, John McDonnell <[email protected]> wrote: > Hi All, > > I have submitted a PR today for JUnit 5 Support inclusion into Apache > NetBeans. > > This has been on my plate for a while and over time I just haven't come > back to it as I would have liked. With Apache NetBeans 10 on the way, this > might be cutting it too close, but I guess if it doesn't make it for this > release we can easily try for next release. > > Can I ask for help testing this PR? > > I've focused mainly with Maven Support - I dont really use Ant so if > someone does use it, and they have ideas or defects with this PR, or whats > missing for JUnit 5 Support then please by all means shout them out. But > here is a list of what I have included as part of the PR: > > + Added JUnit 5 Library - Using latest 5.3.1 release. > + Added JUnit 5 Templates > + New Test classes default to JUnit 5 if JDK >= 8 & JUnit 4 not already > used. > + Test Classes when JUnit 5 is found on the class path(Maven) use JUnit 5. > + Run/Debug single test method support included. Checks when Using JUnit 5 > of the method has an annotation that inherits from @Testable > + Updated JUnit IDE hints for JUnit 5 - i.e. Assertions as opposed to > Assert and ordering of arguments. > + Informational message to users when creating a Test Suite with Junit 5 - > Currently not supported with Jupiter, message refers users to switch to the > Vintage Engine. > > You can checkout the PR by using the following: > > $ git fetch upstream pull/892/head:feature/JUnit5 > $ git checkout feature/JUnit5 > > > Any comments, bugs, feedback of any kind is welcomed > > Regards > > John >
