XML Unit

  •        0

XMLUnit extends JUnit and NUnit to enable unit testing of XML. It compares a control XML document to a test document or the result of a transformation, validates documents, and compares the results of XPath expressions. The Java version is currently way more mature than the .NET version.




Related Projects

Samplecodetestinfectedws - Sample Code Project - Test Infected Spring Web Service

This project presents how one can deeply unit and integration test a Spring-based web service using a several different open source libraries including: JUnit, XMLUnit, Cargo, EasyMock, Spring-WS-test and many others. This project illustrates how to effectively unit test not only your Java source, but also how to unit test non-Java artifacts such as Spring configuration files, Castor mapping files and canonical data format definitions.


XHTMLUnit builds on JUnit and XMLUnit in order to provide testing and validation of generated (and static) XHTML code.

Ots-schemas - Java library for reading and writing common library XML schemas

OTS-Schemas is a Java library for reading and writing common library XML schemas. It currently supports PREMIS, MODS, TextMD, DocumentMD, MIX, AES AudioObject, METS (partial support), and several custom formats. It is developed as part of the Harvard University Library Digital Repository Service (DRS), an access and preservation repository. Please note that this should be considered beta software. The MIX and MODS sub-packages perform checking of schema-restricted values during runtime. However,

Easyb - Behavior Driven Development made easy.

easyb is a BDD framework that provides a domain specific language which makes application verification simple, fun, and easy. easyb provides support for two types of specifications, Behaviors and Stories. Behaviors are created with a simple it syntax. Stories are created with scenario, given, when and then. Curious? Check out this video, which demonstrates both specifications and stories in easyb. newseasyb 1.2 has been released (May 2011) - all bundles are now on maven central for easy download

Fits - File Information Tool Set

File Information Tool Set (FITS)What is it?The File Information Tool Set (FITS) identifies, validates, and extracts technical metadata for various file formats. It wraps several third-party open source tools, normalizes and consolidates their output, and reports any errors. FITS was created by the Harvard University Library Office for Information Systems for use in its Digital Repository Service (DRS). The current tools used are: Jhove (LGPL version 2.1 or any later version) Exiftool (GPL versio

Moskomule - Painless XML development

The mule will take care of all kinds of usful tasks for you. He is primarly aimed at the web developer who often finds himself carrying large loads of xml from the classpath to his tests, or trying to test a response from a server. The mule not only knows about XML, but also will at some point know about JSON too. He provides a simple API for templating responses. He uses heavily XmlUnit, Junit and the Java XML parsing capabilities. He hopes also one day to learn dot.net and do the same thing th

java-xmlunit - XMLUnit - extend JUnit to enable unit testing of XML

XMLUnit - extend JUnit to enable unit testing of XML

XMLUnitTests - This repository demonstrates testing using XMLUnit

This repository demonstrates testing using XMLUnit


A port of XmlUnit (http://xmlunit.sourceforge.net/) to Xunit. Assertions in this version are Xunit assertions.