Community
Participate
Working Groups
Would be nice to have to option to open the test error message in a dialog so that it is easier to read. For example, a double-click on the message could open a dialog with the message.
You can use the button "Show stack trace in Console view" from the Failure Trace part to open the error in the Console view. It also allows you to easily copy a part of the stack trace and navigate to the failing locations using hyperlinks. Is there any additional functionality that you are looking for in this bug report?
I think we should show the test failure message in a dialog after double-clicking on it. See for example the "View assertEquals difference" screenshot from https://www.jetbrains.com/help/idea/viewing-and-exploring-test-results.html Such a simple display of the error message is way nicer then the current Eclipse support.
For comparison failures like "assertEquals", Eclipse already has a "Result Comparison" dialog as shown in your screenshot. You need to double-click on the failed message entry from the Failure Trace part.
For non-comparison failures, showing the stack trace in the Java Stack Trace Console view is more beneficial than a separate dialog as it also provides integrated navigation support via hyperlinks. (https://www.eclipse.org/eclipse/news/4.7/jdt.php#show-junit-failure-trace-in-console-view) Keeping the bug open to add a dialog with similar functionality as the console view as another way to display the stack trace.
(In reply to Noopur Gupta from comment #4) > For non-comparison failures, showing the stack trace in the Java Stack Trace > Console view is more beneficial than a separate dialog as it also provides > integrated navigation support via hyperlinks. > (https://www.eclipse.org/eclipse/news/4.7/jdt.php#show-junit-failure-trace- > in-console-view) But it is very hard to discover for users. > Keeping the bug open to add a dialog with similar functionality as the > console view as another way to display the stack trace. +1