I need to change the logging level of some files during unit tests (NB 11.3).
According to this wiki page http://wiki.netbeans.org/DevRunningTestsPlatformApp it's possible to add command line parameters for unit tests using the "test.run.args" property. But when I add "test.run.args=-J-DMyLogger.level=200" in module/nbproject/project.properties, the unit test fails: Unrecognized option: -J-DMyLogger.level=200 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Is there another way to do it ?