n1k0/casperjs — Issue #46: Allow tester methods to return expected/received values
Author: scophotog
Created: 2012-01-24 13:55:23+00:00
State: open

When doing an assert method, could there be an option set up to allow the method to return the compared values in the case of a failure?

So on output we could see something like:

PASS URL is good
FAIL title is ok
Expected> Foo
Returned> Bar