Sat, 26. Mar 2016
The headline feature of this new release are new Hamcrest Matchers / NUnit Constraints for XPath assertions.
In addition a few `DifferenceEvaluator` implementations have been added that may help when transitioning from XMLUnit for Java 1.x and a few bugs have been fixed, smaller improvements been made.
The full list of changes:
- fixed swapped constant assignments in `DifferenceEvaluators` PR #53 by @cboehme.
- added `CompareMatcher#withNamespaceContext` PR #54 by @cboehme.
- `DiffBuilder#withNamespaceContext` falsely claimed the map would pass prefixes to URIs rather than the other way around. PR #62 and issue #52 by @mariusneo.
- various code style fixes PR #64, PR #65, PR #67, PR #68, PR #69, PR #70 and PR #71 by @georgekankava.
- new `hasXPath` matchers that check for the existence of an XPath inside of a piece of XML or verify additional assertions on the XPath's stringified result. PR #63 and PR #66 by @mariusneo.
- added new implementations inside `DifferenceEvaluators` for common tasks like changing the outcome for specific differences or ignoring changes inside the XML prolog.
- `DiffBuilder.withComparisonFormatter` now also fully applies to the `Difference`s contained within the `Diff`. Issue #55
path: /en/oss/XMLUnit | #