XMLUnit 2.x Development Moved to GitHub

XMLUnit provides help with testing code that creates or consumes XML.

XMLUNit 2.x is available for both Java and .NET with a similar API. Development of this version has moved to a GitHub organization[1] with two git repositories for Java and .NET respectively.

All discussion about XMLUnit independent of any version will happen on the XMLUnit general mailing list[2].

XMLUnit for Java 1.x is no longer maintained, please use the legacy artifacts of XMLUnit 2.x if you still need APIs compatible with XMLUnit 1.x. We keep using the Sourceforge infrastructure that has served as well for many years to host forums and mailing lists.

XMLUnit for .NET 0.x is not maintained any longer.

[1] https://github.com/xmlunit
[2] https://sourceforge.net/p/xmlunit/mailman/xmlunit-general/

Project Activity

See All Activity >

License

BSD License

Follow XML Unit

XML Unit Web Site

Other Useful Business Software
Migrate to innovate with Red Hat Enterprise Linux on Azure Icon
Migrate to innovate with Red Hat Enterprise Linux on Azure

Streamline your IT modernization journey with a holistic environment running Red Hat Enterprise Linux on Azure.

With Red Hat Enterprise Linux on Azure, businesses can confidently modernize their IT environment, knowing they don’t have to compromise on security, scalability, reliability, and ease of management. Securely accelerate innovation and unlock a competitive edge with enterprise-grade modern cloud infrastructure.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
6
0
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Xmlunit works fine.
    1 user found this review helpful.
  • Xmlunit works great.
    1 user found this review helpful.
  • This app is simply the best. I suggest you guys try it out now.
  • Love its user-friendly interface. Definitely, there's nothing more I could ask for.
  • It Is very useful Library for my tests. The Error Messages (in case of variations) are detailed enough (in most cases i only need the XPath) I initizialize XMLUnit with: @BeforeClass public static void initXmlUnit() { XMLUnit.setIgnoreWhitespace(true); XMLUnit.setIgnoreAttributeOrder(true); XMLUnit.setIgnoreComments(true); XMLUnit.setIgnoreDiffBetweenTextAndCDATA(true); } And run my Tests with : Diff diff = XMLUnit.compareXML(createInputSource(controlXml), createInputSource(resultXml)); diff.overrideDifferenceListener(new MyDifferenceListener()); // Special Cases: ignore some nodes and validate some Nodes with BigDecimal or Date compare() diff.overrideElementQualifier(new MyElementQualifier()); // Special Cases: ignore the Element-order of maxOccure > 1 Elements. assertTrue("XML similar " + diff.toString(), diff.similar()); assertTrue("XML identical " + diff.toString(), diff.identical()); // Helper Method: protected InputSource createInputSource(final byte[] xml) { return new InputSource(new ByteArrayInputStream(xml)); } FAZIT: XML Unit is Easy to Use. BW: is there a release Plan for 1.4? In SVN there are nice new Helper Classes like "ElementSelectors". With friendly regards, Harald
    1 user found this review helpful.
Read more reviews >

Additional Project Details

Languages

English

Intended Audience

Information Technology, Developers, Testers

Programming Language

C#, Java

Related Categories

C# XML Software, C# Build Tools, C# QA Automation Software, Java XML Software, Java Build Tools, Java QA Automation Software

Registered

2001-03-19