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.
Currently all classes that are in Test Packages may be run only via jUnit. In popup menu over any class in Test Packages: Add separator for jUnit tests. Rename Run file menu element to Run as jUnit test. (Same for Debug and profile) Add a Run menu element to popup if class contains main method and run it same as any other class in Source Packages with main method. (Same for Debug and Profile) * Unfortunately aside from proposing some enhancements I am under contract obligations, that forbid me to contribute any code.
Reassigning to junit.
Currently there are following items in popup menu: Run File Debug File Profile File Test File Debug Test File "Run File" runs a class the same way as any other class in Source Packages in case if it contains main method. Closing as invalid. Please feel free to reopen if you disagree.