XMLUnit 2.0 is a complete rewrite of XMLUnit that is available for Java and .NET. It builds upon the ideas and experience of XMLUnit for Java 1.x but comes with a new API and new implementation.

XMLUnit 2.0 consists of a Core library without any external dependencies and an additional library of Hamcrest Matchers / NUnit Constraints.

XMLUnit for Java provides a third artifact that provides a compatibility layer with XMLUnit 1.6 that bridges the old API to the new implementation.

The 2.0.0-alpha-02 release is the first official pre-release of XMLUnit 2.0 (there has been a nuget package with the version 2.0.0-alpha-01 before, therefore the 02). We'd like to encourage people to use it and provide feedback about the API in case it needs to get adapted before the final release. Please join the xmlunit-general list or use GitHub issues to provide feedback.

XMLUnit 2.0.0-alpha-02 is available as GitHub release via https://github.com/xmlunit/xmlunit/releases/tag/v2.0.0-alpha-02/ and https://github.com/xmlunit/xmlunit.net/releases/tag/v2.0.0-alpha-02/ respectively.

XMLUnit for Java is also available via Maven Central.

    <dependency>
      <groupId>org.xmlunit</groupId>
      <artifactId>xmlunit-core</artifactId>
      <version>2.0.0-alpha-02</version>
    </dependency>

with additional artifacts xmlunit-matchers and xmlunit-legacy.

XMLUnit.NET is also available as nuget packages Core and Constraints.

For more information please visit www.xmlunit.org.

path: /en/oss/XMLUnit | #