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 the JUnit Test Results page, there should be a "go to source" function when the user double click (or right click -> go to source) the fully qualified class name. The user should be able to navigate to the source on any class that is within the opened project. Currently the only way to go to source code is when some error happens in a test case, and the user double click the class name (Even this sometimes does not work!).
I have this very same issue in Netbeans 6.1 too
It seems the situation has deteriorated. In 6.5 it is not possible to go from a failed test in the Junit Test Result Window to the corresponding source at all. Steps to reproduce: - Create Quickstart Archetype Project - Create Class with one method - Use Tools-Create JUnit Tests to create a test The failure is reported with the correct line number, but the test result tree does not allow to navigate to the source. Probably this is a well known problem which is not easily solvable. In that case, can you give a hint what the underlying problem is?
Yes, this is a known problem. The Go To Source feature now works for selected project types only and so far Maven based projects are not in the scopes of this selection. The issue will be fixed later (it is planned to propagate common Go To Source SPI which should be implemented by all project types interested in Unit testing.)
*** This issue has been marked as a duplicate of 71356 ***