XMLUnit provides assertions and supporting class libraries to test various properties of generated pieces of XML using a popular testing framework. It supports finding the differences between two pieces of XML, validating documents against DTDs or XML Schemas, testing the results of XPath expressions, or asserting properties of Nodes exposed via DOM traversal. Two branches exist: one that supports Java and JUnit and one that supports the .NET Framework and NUnit.
|Tags||Software Development Libraries Java Libraries Testing|
|Operating Systems||OS Independent|
Release Notes: XMLUnit for Java 1.4's DifferenceEngine now detects the type attribute from the XML Schema Instance namespace (xsi:type) and treats its value like a QName (i.e., it tries to translate the value's prefix (if any) to the associated namespace URI before comparing the values). This release fixes a bug in assertXpathsEqual when applied to paths containing attributes, as well as a tiny bug in FloatingPointTolerantDifferenceListener.
Release Notes: This release fixes a few bugs and provides a new option for controlling what happens when the documents that are compared contain two XML elements that cannot be matched against each other.
Release Notes: A few bugs were fixed. The order of attributes is ignored. xmlns attributes are no longer treated as normal attributes and the namespace of attributes is now sigificant. Comparisons of empty elements with attributes failed. The binary in this release has been compiled against NUnit 2.4.8. This is expected to be the last XMLUnit release compatible with .NET 1.1.
Release Notes: The major new feature of XMLUnit for Java 1.2 is an alternative XML validation subsystem built on top of JAXP 1.3 which supports validation against alternative XML Schema languages (if your JAXP implementation supports them) and validation of the Schema definition itself. In addition, all known issues of XMLUnit 1.1 have been fixed.
Release Notes: This is a version of XMLUnit.NET that has been compiled against NUnit 2.4 and should work on any modern version of Mono as well as all Microsoft .NET frameworks (only tested on 1.1 and above, though). Apart from being compiled against a more modern version of NUnit, only a few deprecation warnings have been fixed when compared to XMLUnit.NET 0.3. No features have been added, and no bugs have been fixed (there haven't been any bug reports anyway). Unfortunately, no documentation has been added either.