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.
IDE executes and debugs maven based project single test using Ant instead of Maven. Single file test/debug configuration from projects' action configuration is ignored.
When Compile on Save is enabled for unit tests, which is the default (see Compile panel of project properties), the IDE uses an unspecified mechanism (currently Ant's <junit>) to run tests directly from the class cache produced by the background compiler. If you have specialized Surefire configuration which requires a full Maven lifecycle to be launched, just disable CoS.
Works great. Many thanks Jesse!