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.
In a freeform project, go to Run -> Run File -> Test <File> from an editor tab containing a unit test. Control-F6 is listed as the shortcut for this action but it does not do anything.
I've tested it with 5.5.1 and 6.0 and I have the menuitem "Test file" disabled for freeform project.
That's because the functionality is not implemented for freeform project. You can select the test file in Explorer and invoke action Run File.
The menu item works for me on source files that have been added under the Java sources - test package folders section of the project properties editor, but pressing control-F6 does not do anything. However, when I right click on source files in the project explorer that are in test packages the run file (shift-F6) action is completely disabled.
Will be fixed by creating target for execution of single test class. *** This issue has been marked as a duplicate of 146200 ***