XMLUnit

2019-04-13:
XMLUnit.NET 2.7.0 Released

We are happy to announce the release of XMLUnit.NET
2.7.0 which is the first version to target .NET
Standard 2.0 in addition to .NET Framework 3.5.

About XMLUnit

When testing XML your application creates, simple string
comparisons don't cut it as there are many different ways the
same XML content is serialized to a string. It doesn't even
stop with serialization as sometimes you don't care for the
order of XML elements and sometimes you do.

XMLUnit provides you with the tools to verify the XML you
emit is the one you want to create. It provides helpers to
validate against an XML Schema, assert the values of XPath
queries or compare XML documents against expected
outcomes.

The most important part is a diff-engine that provides you
with full control over what kind of difference is important
to you and which part of the generated document to compare
with which part of your reference document.

About XMLUnit 2.x

XMLUnit 2.x is developed for Java and .NET.

XMLUnit 2.x is a complete rewrite and is based on the
experience of XMLUnit for Java 1.x. It's main goals are:

create .NET and Java versions that are compatible in design while
trying to be idiomatic for each platform

focus on the parts that are useful for testing:

XPath

(Schema) validation

comparisons

be test framework agnostic (this applies to the Java
version more than to XMLUnit.NET)

remove all static configuration (the
old XMLUnit class setter methods)

The code has been split into separate git repositories for
Java and .NET, but both share quite a bit of history. The
user's is available as
a github
wiki.

XMLUnit for Java 2.6.2 has been released on 2018-08-27 and XMLUnit.NET 2.6.0 has been released
on 2018-04-22.

XMLUnit for Java 2.x

XMLUnit for Java also contains a legacy module
that provides an API compatible to XMLUnit 1.x on top of the
new API. The legacy component is distributed using the
same three-clause
BSD license XMLUnit 1.x used.

Contributing

We need your help!

Some ideas are
outlined here.
Contributions of tests, documentation and code are more than
welcome. Please
see our
contributing page for details. In short, we like pull
requests, please use github's infrastructure for XMLUnit 2.x
and Sourceforge's infrastructure for XMLUnit 1.x.

The future of XMLUnit is discussed on
the xmlunit-general mailing list hosted at Sourceforge