Subject: | Feature Request: Add hooks for a subclass to provide an alternative diff rendering module |
Hi there-
At work, we love eq_or_diff(). We use it to compare blobs of text,
particularly XML. Unfortunately, the lines of text can be rather long,
which makes it hard to identify exactly where the difference is,
especially when the lines are displayed side-by-side, as
Text::Diff::Table does it.
I was looking at Text::WordDiff::ANSIColor, and I was thinking about
enhancing eq_or_diff() to colorize words that have been
added/removed/changed in each line.
Would you consider adding a hook to Test::Differences so that I could
supply my own module for rendering the diff? Or can you suggest a
better approach?