Bug 84564 - difference in testresults does not show
difference in testresults does not show
Status: NEW
Product: java
Classification: Unclassified
Component: JUnit
6.x
All All
: P3 (vote)
: TBD
Assigned To: Theofanis Oikonomou
junit-issues@java
: UI, USABILITY
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-09 05:42 UTC by abonnema
Modified: 2011-11-04 12:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo