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.

Bug 84564 - difference in testresults does not show
Summary: difference in testresults does not show
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords: UI, USABILITY
Depends on:
Blocks:
 
Reported: 2006-09-09 05:42 UTC by abonnema
Modified: 2011-11-04 12:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abonnema 2006-09-09 05:42:24 UTC
Hi,

I am running netbeans 6.0 m2 from Ubuntu Dapper.

When I test using JUnit and compare two larger strings it would be very helpful 
if netbeans could show where the differences are or at least start.

Currently when I compare two larger strings, it does not show where the 
differences start.

Another thing is that expected and result are printed on the same line, making 
it not easier to compare the two.
Comment 1 abonnema 2006-09-09 05:52:51 UTC
Adjusting this issue: the difference is shown, I just had to get used to the 
way it was shown.

Still, printing the string for expected and result on two different lines would 
help a lot in comparing and easily finding the difference, escpecially if the 
string is long.
Comment 2 Marian Petras 2008-11-25 21:00:38 UTC
The messages about the difference and about the expected vs. actual result are produced by the JUnit library. It agree
that NetBeans JUnit module might improve this, e.g. by a graphical presentation of the difference.