You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Geertjan Wielenga <ge...@googlemail.com.INVALID> on 2019/01/27 12:01:54 UTC

JUnit 5 and Ant and NetBeans

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

Re: JUnit 5 and Ant and NetBeans

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
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...@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
> <ge...@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
> >
>

Re: JUnit 5 and Ant and NetBeans

Posted by Mario Schroeder <ma...@gmail.com>.
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
<ge...@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
>