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.
Created attachment 128930 [details] Simple testcase in zip file I let NetBeans generate a simple Maven project and let it generate a test class for the generated main class. In the main class I add an exception. When this exception is thrown during the JUnit test, then I can see the stack trace only in the test window not in the output window. This stack trace cannot be copied to the clipboard. Hyperlinking is not supported in it. It would be good if the stack trace could be made more useful.
(In reply to comment #0) > Created attachment 128930 [details] > Simple testcase in zip file > > I let NetBeans generate a simple Maven project and let it generate a test class > for the generated main class. > > In the main class I add an exception. When this exception is thrown during the > JUnit test, then I can see the stack trace only in the test window not in the > output window. in output window, there is a hyperlink in the surefire plugin output, when clicked one is shown output of all failing tests along with stacktraces hyperlinked. > > This stack trace cannot be copied to the clipboard. Hyperlinking is not > supported in it. > > It would be good if the stack trace could be made more useful. the test output window is managed under different component, reassigning
Thanks very much. I did not notice the link. Now I don't need this myself anymore but perhaps it is still useful for others.
*** Bug 195866 has been marked as a duplicate of this bug. ***
Changeset: ba71fe90d9d4 Author: Theofanis Oikonomou <theofanis@netbeans.org> Date: 2013-02-14 16:16 Message: Issue #223361 - Let user copy Stack Trace from Test output
Integrated into 'main-golden', will be available in build *201302152300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ba71fe90d9d4 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Issue #223361 - Let user copy Stack Trace from Test output