This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When invoking the "Test file" action using the Compile on Save feature to run a TestNG xml file, the standard surefire:test target is called. This makes all tests run instead of the tests defined in the xml.
what would be the surefire plugin cmd line execution configuration in this case? can the regular -Dtest=XX property be used?
I've done some searching and I was only able to find a way to specify the xml file from inside the pom. Apparently it is not possible to specify it from the command line. So it appears that this is a limitation of the surefire plugin.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss