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.
There is another issue 173523 for this, but references NB 5.0, and confuses the issue a bit. I want it to be understood this is happening in NB 7.3.1, is problematic, and why. Simple to reproduce. In a Maven Java project, create a folder src/test/groovy/org/netbeans/tests Then create a test MyTest Then add methods @Test public void testA(){ } and @Test public void testB(){ } Place the cursor in either method, and bring up the context menu in the editor. There are only options to test the file, but nothing to be able to run the single test like the Java editor. This makes it difficult to work on a single unit test at a time as some other tests in a file can take a while to run. I'm torn between calling this a defect, but in the other IDEs this is simple to do as well as it is very simple to do in the NB Java editor, so symmetry/uniformity of a JVM language is lost, and also, in pondering whether it is a P2 or a P3 landed on P2 because it is a huge time drain, and there is no way to work around it less using another IDE at the same time or the command line to run unit tests which defeats the purpose of the IDE IMO.
*** This bug has been marked as a duplicate of bug 212829 ***