Re: maven-surefire-plugin 2.20 and newer doesn't work with Test Result window

2022-09-20 Thread Vladimir Machat

Hi,

just FYI I tried it with the git version of Netbeans and it seems to be 
working there. So I guess we will have to wait for Netbeans 16 to have 
testing fully working again :)


On 20/09/2022 13:54, Jean-Marc Borer wrote:

Hello Vlad,

I have this issue since a looongg time. It started with NB 12 (or even
11 not sure). I still don't know why it is failling.

Sorry not beining able to help you. Please file an issue on Github but make
sure there not already one.

Best regards,

JM

On Sun, Sep 18, 2022 at 9:49 PM Vladimir Machat  wrote:


I have been trying to figure out how to get JUnit 5 tests working
correctly in Netbeans 15.

with maven-surefire-plugin version 2.19.1 and lower it works but with
versions starting 2.20 the Test Result window in Netbeans just says 'No
tests executed' even though in the Output window I can see that they
were executed.

Running tests from command line - mvn surefire:test - works fine, tests
are executed.

Setting trimStackTrace to false didn't help.


Netbeans version 15

Java tried with 8, 11, 17 and 18

Maven tried with 3.8.6 and 3.8.4

Junit 5 tried with almost all versions from 5.6.0 to 5.9.0

OS Linux Manjaro

pom:


http://maven.apache.org/POM/4.0.0;   xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance;   xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>

  4.0.0
  org.atrament
  TestJunit5
  0.1
  jar
  
  
  org.junit.jupiter
  junit-jupiter
  5.9.0
  test
  jar
  
  
  
  
  
  maven-surefire-plugin
  2.20
  
  
  
  
  UTF-8
  11
  11

org.atrament.testjunit5.TestJunit5
  


Can anyone help please?

Thanks

Vlad


Re: maven-surefire-plugin 2.20 and newer doesn't work with Test Result window

2022-09-20 Thread Vladimir Machat

I tried both of them, neither works:(

On 20/09/2022 14:48, Eric Barboni wrote:

Hi, did you try the 3.0.0-M7 or 2.22.0 version of surefire?
They contains junit 5 fixes

Regards
Eric
-Message d'origine-
De : Jean-Marc Borer  
Envoyé : mardi 20 septembre 2022 14:55

À :dev@netbeans.apache.org
Objet : Re: maven-surefire-plugin 2.20 and newer doesn't work with Test Result 
window

Hello Vlad,

I have this issue since a looongg time. It started with NB 12 (or even
11 not sure). I still don't know why it is failling.

Sorry not beining able to help you. Please file an issue on Github but make 
sure there not already one.

Best regards,

JM

On Sun, Sep 18, 2022 at 9:49 PM Vladimir Machat  wrote:


I have been trying to figure out how to get JUnit 5 tests working
correctly in Netbeans 15.

with maven-surefire-plugin version 2.19.1 and lower it works but with
versions starting 2.20 the Test Result window in Netbeans just says
'No tests executed' even though in the Output window I can see that
they were executed.

Running tests from command line - mvn surefire:test - works fine,
tests are executed.

Setting trimStackTrace to false didn't help.


Netbeans version 15

Java tried with 8, 11, 17 and 18

Maven tried with 3.8.6 and 3.8.4

Junit 5 tried with almost all versions from 5.6.0 to 5.9.0

OS Linux Manjaro

pom:

 xmlns="http://maven.apache.org/POM/4.0.0;   xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance;   xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>

  4.0.0
  org.atrament
  TestJunit5
  0.1
  jar
  
  
  org.junit.jupiter
  junit-jupiter
  5.9.0
  test
  jar
  
  
  
  
  
  maven-surefire-plugin
  2.20
  
  
  
  
  UTF-8
  11
  11

org.atrament.testjunit5.TestJunit5
  


Can anyone help please?

Thanks

Vlad



-
To unsubscribe, e-mail:dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail:dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




RE: maven-surefire-plugin 2.20 and newer doesn't work with Test Result window

2022-09-20 Thread Eric Barboni
Hi, did you try the 3.0.0-M7 or 2.22.0 version of surefire? 
They contains junit 5 fixes

Regards
Eric
-Message d'origine-
De : Jean-Marc Borer  
Envoyé : mardi 20 septembre 2022 14:55
À : dev@netbeans.apache.org
Objet : Re: maven-surefire-plugin 2.20 and newer doesn't work with Test Result 
window

Hello Vlad,

I have this issue since a looongg time. It started with NB 12 (or even
11 not sure). I still don't know why it is failling.

Sorry not beining able to help you. Please file an issue on Github but make 
sure there not already one.

Best regards,

JM

On Sun, Sep 18, 2022 at 9:49 PM Vladimir Machat  wrote:

> I have been trying to figure out how to get JUnit 5 tests working 
> correctly in Netbeans 15.
>
> with maven-surefire-plugin version 2.19.1 and lower it works but with 
> versions starting 2.20 the Test Result window in Netbeans just says 
> 'No tests executed' even though in the Output window I can see that 
> they were executed.
>
> Running tests from command line - mvn surefire:test - works fine, 
> tests are executed.
>
> Setting trimStackTrace to false didn't help.
>
>
> Netbeans version 15
>
> Java tried with 8, 11, 17 and 18
>
> Maven tried with 3.8.6 and 3.8.4
>
> Junit 5 tried with almost all versions from 5.6.0 to 5.9.0
>
> OS Linux Manjaro
>
> pom:
>
>   xmlns="http://maven.apache.org/POM/4.0.0;  xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;  xsi:schemaLocation="
> http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd;>
>  4.0.0
>  org.atrament
>  TestJunit5
>  0.1
>  jar
>  
>  
>  org.junit.jupiter
>  junit-jupiter
>  5.9.0
>  test
>  jar
>  
>  
>  
>  
>  
>  maven-surefire-plugin
>  2.20
>  
>  
>  
>  
>  UTF-8
>  11
>  11
>
> org.atrament.testjunit5.TestJunit5
>  
> 
>
> Can anyone help please?
>
> Thanks
>
> Vlad
>


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





[nbm-maven-plugin] no netbeans-mavenutils-nbm-maven-plugin site

2022-09-20 Thread Jean-Marc Borer
Hello,

I noticed that since the reorganization of the maven netbeans plugins at
https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin the Maven
site is no longer available.

Is this something normal because of the the release of NB15 and it will be
published soon?

Any inputs?

Thx in advance for you help

Cheers

JM


Re: maven-surefire-plugin 2.20 and newer doesn't work with Test Result window

2022-09-20 Thread Jean-Marc Borer
Hello Vlad,

I have this issue since a looongg time. It started with NB 12 (or even
11 not sure). I still don't know why it is failling.

Sorry not beining able to help you. Please file an issue on Github but make
sure there not already one.

Best regards,

JM

On Sun, Sep 18, 2022 at 9:49 PM Vladimir Machat  wrote:

> I have been trying to figure out how to get JUnit 5 tests working
> correctly in Netbeans 15.
>
> with maven-surefire-plugin version 2.19.1 and lower it works but with
> versions starting 2.20 the Test Result window in Netbeans just says 'No
> tests executed' even though in the Output window I can see that they
> were executed.
>
> Running tests from command line - mvn surefire:test - works fine, tests
> are executed.
>
> Setting trimStackTrace to false didn't help.
>
>
> Netbeans version 15
>
> Java tried with 8, 11, 17 and 18
>
> Maven tried with 3.8.6 and 3.8.4
>
> Junit 5 tried with almost all versions from 5.6.0 to 5.9.0
>
> OS Linux Manjaro
>
> pom:
>
> 
> http://maven.apache.org/POM/4.0.0;  xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;  xsi:schemaLocation="
> http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/maven-4.0.0.xsd;>
>  4.0.0
>  org.atrament
>  TestJunit5
>  0.1
>  jar
>  
>  
>  org.junit.jupiter
>  junit-jupiter
>  5.9.0
>  test
>  jar
>  
>  
>  
>  
>  
>  maven-surefire-plugin
>  2.20
>  
>  
>  
>  
>  UTF-8
>  11
>  11
>
> org.atrament.testjunit5.TestJunit5
>  
> 
>
> Can anyone help please?
>
> Thanks
>
> Vlad
>