Skip to content

Releases: xmlunit/xmlunit.net

XMLUnit.NET 2.1.0

Choose a tag to compare

@bodewig bodewig released this 26 Mar 05:57

The headline feature of this new release are new NUnit Constraints for XPath assertions.

In addition a few DifferenceEvaluator implementations have been added,
a few bugs have been fixed and smaller improvements been made.

The full list of changes:

  • added CompareConstraint.WithNamespaceContext
    port of PR #54 by @cboehme.
  • added new implementations inside DifferenceEvaluators for common
    tasks like changing the outcome for specific differences or ignoring
    changes inside the XML prolog.
  • new HasXPath constraints that check for the existence of an XPath
    inside of a piece of XML or verify additional assertions on the
    XPath's stringified result.
    Port of corresponding matchers in XMLUnit for Java by @mariusneo.
  • DiffBuilder.WithComparisonFormatter now also fully applies to the
    Differences contained within the Diff.
    Issue xmlunit/#55

XMLUnit.NET 2.0.0

Choose a tag to compare

@bodewig bodewig released this 06 Mar 05:46

After three alpha releases this is the first release of XMLUnit.NET 2.x.

The only change when compared to 2.0.0-alpha-04 is

  • implemented DiffBuilder.WithComparisonFormatter mentioned in user
    guide.
    Issue xmlunit/#51

XMLUnit.NET 2.0.0-alpha-04

Pre-release

Choose a tag to compare

@bodewig bodewig released this 06 Feb 05:55

This is the third alpha release of XMLUnit.NET 2.0.0.

The implementation is considered stable enough for a production release. This is an alpha release as we need more people to try out the API in order to call it final.

Breaking Changes since 2.0.0-alpha-03

  • the unused SchemaURI property of Validator has been removed.
  • the mapping of IDifferenceEngine.NamespaceContext has been
    inverted from prefix -> URI to URI -> prefix in order to be
    consistent with the same concept in IXPathEngine.

Other Changes since 2.0.0-alpha-03

  • Comparison now also contains the XPath of the parent of the
    compared nodes or attributes which is most useful in cases of
    missing nodes/attributes because the XPath on one side is null in
    these cases.
    Issue #48
    ported from PR #50
    by @eguib.

XMLUnit.NET 2.0.0-alpha-03

Pre-release

Choose a tag to compare

@bodewig bodewig released this 13 Dec 05:36

This is the second alpha release of XMLUnit.NET 2.0.0.

The implementation is considered stable enough for a production release. This is an alpha release as we need more people to try out the API in order to call it final.

Changes since 2.0.0-alpha-02

  • fixed the nuget package name of the core library to now use
    XMLUnit.Core
  • switched core tests to use to NUnit 3.x and provided a new library
    to support NUnit 3.x constraints.
    #19 by
    @e-tobi
  • The XMLUnit.Constraints nuget package has been replaced with
    XMLUnit.NUnit2.Constraints and XMLUnit.NUnit3.Constraints
  • The XMLUnit.NUnit2.Constraints nuget package now depends on NUNit 2.6.4 -
    which it has been compiled against - rather than 2.5.10.
  • added new overloads to IXPathEngine
  • fixed the XPath context used by the ByXPath element selector so
    that "." now refers to the current element.
    Issue xmlunit/#39
  • ElementSelectors.ConditionalBuilder now stops at the first
    predicate returning true, even if the associated ElementSelector
    returns false.
    Issue xmlunit/#40

XMLUnit.NET 2.0.0-alpha-02

Pre-release

Choose a tag to compare

@bodewig bodewig released this 21 Nov 17:13

This is the initial alpha release of XMLUnit.NET 2.0.0.

The implementation is considered stable enough for a production release. This is an alpha release as we need more people to try out the API in order to call it final.