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.
I think double clicking on the test name (the node in the JUnit window) should set the cursor exactly where the test is defined, whether it failed or not.
Currently if a test times out causing an error that needs to be corrected, there is no way to jump to it...
Also, when JUnit fails a test, double clicking on the stack trace sometimes does nothing. This happens when the file I'd like to go to is open in any of the windows of the editor as the active file. The expected behaviour is that double clicking in the stack trace will take the cursor exactly to the line number showed in it.
Sometimes clicking on the last stack trace line presented in JUnit Test window will redirect the cursor to the position of the previous line of the stack trace. When that happens, clicking on the previous line redirects the cursor to the expected line: at abc.config.AClassTest.finish(AClassTest.java:125) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) double click on the first line will take you to FutureTask.java:303 double click the previous line will also take you to FutureTask.java:303 In the general output window the behavior is as espected: double click on the first line will take you to AClassTest.java:125 double click the previous line will also take you to FutureTask.java:303
Seems all negative episodes described in this issue won't occur after the issue 171050 has been resolved. I'll mark this issue as duplicate. *** This issue has been marked as a duplicate of 171050 ***