Yaytay opened a new issue, #4513:
URL: https://github.com/apache/netbeans/issues/4513
### Apache NetBeans version
Apache NetBeans 14
### What happened
In a largeish maven project attempting to execute or debug a single
Integration Test ("*IT.java" file) produces the error:
Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on
project query-engine: No tests matching pattern "DummyToSkipUnitTests" were
executed! (Set -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.)
-> [Help 1]
### How to reproduce
Create a maven project with a single integration test, try to run that
integration test alone from the Maven UI by right clicking it and choosing
"Test File".
To save time, this is a repo that contains a suitable IT:
https://github.com/Yaytay/postgres-url-test
### Did this work correctly in an earlier version?
Apache NetBeans 13
### Operating System
Windows 11
### JDK
OpenJDK 64-Bit Server VM Zulu18.30+11-CA (build 18.0.1+10, mixed mode,
sharing)
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
This commit introduced the DummyToSkipUnitTests:
https://github.com/apache/netbeans/blob/0011e80e813f910cd62066042c96e3f137d422d0/java/maven/src/org/netbeans/modules/maven/execute/defaultActionMappings.xml
I'm not sure why, because executing and debugging integration tests worked
in netbeans 13.
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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