Tue, 12. May 2020
These two releases contain an incompatible change to the
(I)PlaceholderHandler
interface, thus the new minor
versions. The Evaluate
method now receives a variable
number of string arguments in addition to the textual content of the
element/attribute. This allows placeholders like
${xmlunit.matchesRegex(some\s*regex)}
.
For XMLUnit.NET only the placeholders package has changed, for Java in addition the assertj module is now supposed to be compatible with AssertJ 3.15+.
Release Notes for XMLUnit for Java 2.7.0:
- the AssertJ tests now pass on non-English locales as well
Issue #180 - added a workaround for a binary incompatible change in AssertJ that caused xmlunit-assertj to be incompatible with AssertJ 3.15.0
Issue #181 - added a new
${xmlunit.matchesRegex(regex)}
placeholder
PR #178 by @Jazzyekim. - add a new
${xmlunit.isDateTime}
placeholder
inspired by #xmlunit.net/31 and #xmlunit.net/32 by MilkyWare
Issue #174 - avoid unnecessary creation of
DocumentBuilderFactory
inDOMDifferenceEngine
when a custom factory has been provided toDiffBuilder
.
Issue #182
Release Notes for XMLUnit.NET 2.8.0:
- add a new
${xmlunit.isDateTime}
placeholder
PRs #31 and #32 by MilkyWare - added a new
${xmlunit.matchesRegex(regex)}
placeholder
based on Java PR xmlunit/#178 by @Jazzyekim.
path: /en/oss/XMLUnit | #