Export to GitHub

mockito - issue #22

when arguments are different the exception now allows using the comparison window


Posted on Sep 18, 2008 by Massive Monkey

When assertEquals fails then most IDEs offer a feature of comparing the expected and actual in a pop-up window. Mockito uses this functionality. When verification fails due to different arguments then you would be able to see the detailed comparison in a pop-up window. To bring up the pop-up you can click on little icon near the Failure Trace or double click on exception message in the Failure Trace.

Comment #1

Posted on Sep 18, 2008 by Massive Monkey

Added to trunk

Comment #2

Posted on Apr 19, 2009 by Massive Monkey

(No comment was entered for this change.)

Status: Verified

Labels:
Type-Enhancement Priority-Medium Milestone-Pre1.7