I want to provide a diff report for a non regression test.
My program is Java based but I did not found any API filling my needs.
So I’m using an external tool (CSDiff) that take 2 files as arguments and return an HTML report.
That’s nice and easy to setup.
Now the only problem I have is that the HTML report needs some tweaks to be used and I am messing around with the report, trying to transform it into something different (hidding some parts, changing the style, …)
Does someone know a diff tools that has a powerful command line support, allowing custom report to be generated ?
Nice report options would be 2 panes view, regexp filtering, easy styling options… something like the vim diff view in html would be great.
I’ve already read stuff about diff tools in stackoverflow but I don’t find the stuff I’m looking for.
- https://stackoverflow.com/questions/12625/best-diff-tool
- Free diff tool that is configurable?
- Need a Java and Javascript diff tool written in Java
Many Thanks
I would recommend google-diff-match-patch. This provides HTML or the basic diff components which you could style and transform yourself.