XMLUnit provides assertions that help testing code that produces XML.

User Ratings

★★★★★
★★★★
★★★
★★
13
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
Write a Review

User Reviews

  • williamdanis
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Xmlunit works fine.

    Posted 06/26/2013
  • tfileme
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Xmlunit works great.

    Posted 05/20/2013
  • blaskrusik1978
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    very good project, thanks!

    Posted 04/06/2013
  • elliotking
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Reliable and runs smoothly

    Posted 02/12/2013
  • austinsullivan
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    fast download and works, recommended.

    Posted 01/18/2013
  • lukasford
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    works great.

    Posted 12/16/2012
  • charles-young
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    This app is simply the best. I suggest you guys try it out now.

    Posted 11/16/2012
  • kevinstein14
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Love its user-friendly interface. Definitely, there's nothing more I could ask for.

    Posted 11/16/2012
  • jacobchase
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    simple and straight forward to use

    Posted 10/26/2012
  • elirodrigues
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    deseo bajar xmlunit gratis

    Posted 09/10/2012
  • brabenetz
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    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

    Posted 04/25/2012
  • loganhernandez
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Great app

    Posted 03/23/2012
  • zkev
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I find XMLUnit pretty good althouth I did spot some minor bugs. @lazyberezovsky: Documentation available here http://xmlunit.sourceforge.net/userguide/XMLUnit-Java.pdf

    Posted 01/12/2012
  • oid-2978743
    1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Well, I didn't use it a lot, but I have an opinion already. 1) API - why not to copy Java version? Is it very comfortable to create new XmlDiff AND always call Compare method? Similar and Identical much more descriptive than Equals and Identical. BTW where is .Net naming (IsIdentical, IsSimilar)? 2) About features - if attributes placed in different order, xml is not identical. If there is a white space, xml is not identical. It was enough for me, to stop using this XmlUnit version. Also I didn't find difference in behavior between Equal and Identical. 3) There is no xml documentation. Why should I spend time reviewing all your classes and guessing what they are doing? So, I didn't find any advantages of .Net XmlUnit - comparing strings gives same result, but saves your time. P.S. I found, that DiffConfiguration can set validation of attriubutes order and white spaces. But anyway, output of xmlunit is still awful - no tag name of error, no char position. It is more useless, than string comparision, because last one shows WHAT is wrong. Not just difference Id and red line. Completely useless library.

    Posted 07/06/2010