Yes, that's because in Apache NetBeans 10, support for JUnit 5 was added. It was not there before that.
https://github.com/apache/incubator-netbeans/pull/892 Gj On Sun, Jan 27, 2019 at 1:46 PM Mario Schroeder <ma.schroe...@gmail.com> wrote: > Hi Geertjan, > > Regarding the Maven dependency, which you mentioned in your post. From my > own experience I can say: When JUnit 5 dependency is added to a Maven > project, NetBeans 10 created a skelleton for a test class with the imports > for version 5, when I clicked on Tools => create / update test. However > NetBeans 9 added JUnit 4 dependency, and the skelleton was based on version > 4, when I created a new test as described above. > > Regards, > Mario > > Am So., 27. Jan. 2019, 13:02 hat Geertjan Wielenga > <geertjan.wiele...@googlemail.com.invalid> geschrieben: > > > Hi all, > > > > I took a look at the situation with JUnit 5 and Ant in NetBeans... and > > here's the result, comments welcome: > > > > https://blogs.apache.org/netbeans/entry/junit-5-apache-ant-and > > > > Clearly, there are no easy answers. > > > > Gj > > >