Thursday, August 21, 2008

Diffs in Assertion Failures

Just one of many features I've been working on lately.

More to come... now it's wayyy past bedtime.

Spot the Case-Change

image

Something More Complex

image

I'm considering using strike-through to give added emphasis to changed or deleted text from the expected value.  What do you think?

Technorati Tags: ,

2 comments:

Anonymous said...

The idea is great. I think colors work well, and strikethrough would obfuscate the text.
One thing I think is worth trying out - if a text is few words long, having both expected/actual version one under the other is ok. For longer text it tends to be a little bit harder to follow. I guess a side-by-side view might be more appropriate.

Anonymous said...

Coloring the differences definitely will help. If you make better readability of long text,it would make it even better. I guess that a legend that describes the colors will help too.