Add a utility to log all differences when using XmlAssert in XMLUnit #442
Labels
new feature
A new feature such as a new class, method, package, group of classes, etc.
Milestone
This issue originates from the discussion Should we add a helper to log all differences when using XmlAssert in XmlUnit?. Also see the gist which contains sample code.
By default, XmlAssert stops comparing when it finds the first difference, and only reports that difference. So, if an XML comparison has multiple differences, you will only see the first one and won't know about any others until you've fixed the first one, then re-run the test, and then continue until all other comparison failures are fixed.
This issue aims to add a very simple utility that sits on top of
XmlAssert
to provide a simple way to compare all differences and log them as they occur. Initially, mark this utility as beta.The text was updated successfully, but these errors were encountered: