OUnit.assert_equal ~pp_diff
allows pretty-printing of expected/actual value differences and OUnitDiff
seems to provide differs for collections.
Is there a stock pp_diff
for string values though? Ideally one that makes a best-effort to expand diffs to the closest UTF-8 sequence boundaries.
Even common prefix/suffix elimination would be better than nothing.
An amusing morning challenge.
Test: