Francesco Illuminati created NETBEANS-5115:
----------------------------------------------

             Summary: "No tests executed" on maven project
                 Key: NETBEANS-5115
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5115
             Project: NetBeans
          Issue Type: Bug
          Components: utilities - Test Runner
    Affects Versions: 12.2
         Environment: Linux version 5.4.0-53-generic (buildd@lcy01-amd64-007) 
(gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #59-Ubuntu SMP Wed Oct 21 
09:38:44 UTC 2020

openjdk 15-ea 2020-09-15
OpenJDK Runtime Environment (build 15-ea+32-Ubuntu-220.04)
OpenJDK 64-Bit Server VM (build 15-ea+32-Ubuntu-220.04, mixed mode, sharing)

            Reporter: Francesco Illuminati


On a maven java project executing project test or testing a single file always 
returns "No tests executed" even if the maven goal is run (as can be checked in 
the output window).

This was tested with Junit Jupiter 5.6.0 and 5.7.0 and with 
maven-surefire-plugin 3.0.0-M(1-5) and 2.22.2. 
It worked fine on NB 12.1 but only after the maven-surefire-pluginĀ 3.0.0-M4 is 
manually added to pom.xml (would be nice if it was added automatically).

Unfortunately this bug severely impacts productivity: I'm forced back to NB 
12.1.

Aside from that the maven-surefire-plugin 3.0.0-M5 doesn't recognize the test 
resource folder using the default configuration (I have tried to set the 
resource folder manually in the pom.xml file without any luck).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to