Menu

XMLUnit for Java 2.6.4 and XMLUnit.NET 2.7.2 Released

Both releases fix a common bug where the XPath reported for missing
nodes could be wrong in certain edge cases.

  • the XPath values for comparisons resulting in CHILD_LOOKUP
    differences could be wrong when NodeFilters were present.
    XMLUnit.NET Issue
    #29

This is the only change in XMLUnit.NET. In XMLUnit for Java the
AssertJ module has also been improved and is supposed to be compatible
with AssertJ 3.13+ now.

The full list of changes for XMLUnit for Java:

  • the dependencies on JAXB implementation and its transitive
    dependencies has been promoted from test scope to optional for Java
    9 and later
    Issue #162

  • added containsAnyNodeHavingXPath, containsAllNodesHavingXPath
    and hasXPath assertions to xmlunit-assertj.

  • added extractingAttribute method to xmlunit-assertj.

  • removed some redundant instanceof checks.
    PR #171 by
    @PascalSchumacher.

  • xmlunit-assertj should now work with AssertJ-Core 3.13.x
    Issue #166

  • xmlunit-legacy will now use NewDifferenceEngine even when an
    ElementQualifier different from the built-in ones is used.

Posted by Stefan Bodewig 2020-03-08

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.