Python
Free project hosting by SourceForge


[download]  (0.1 release)
 

PyXMLUnit - PyUnit testing for XML

Development library to write unit tests for XML.

PyXMLUnit provides new assertion methods that extend from the ones of PyUnit to allow asserting differences, similarities on XML.
PyXMLUnit has been ported to Python from the Java version of XMLUnit.

Examples

Example and the quick tutorial explaining how to write your first XMLUnit test. If you've never written a unit test I would encourage you to first read the excellent chapter about unit testing using PyUnit written by Mark Pilgrim as part of his online Python book "Dive Into Python" or the examples provided by Steve Purcel on his PyUnit framework.

You may also find some examples on the distributable file.

Download

The framework comes as set of Python source modules + examples. We'll be updating this page with new documentation, known issues, and links to sources of related information.


Important note for PyXMLUnit users

Please check the PyXML compliance page to check if your parser supports DOM-Level 2



Presentation

Here is the presentation we used for our lightning talk at the 2004 Python UK conference.


Acknowledgments

We want to thank Tim Bacon and Jeff Martin for having done such a great job developing XMLUnit.


Contacting us

Feel free to send us your comments, suggestions to:
Adewale Oshineye :  adewale at users dot sourceforge dot net
Marcos Tarruella (aka Mark Tarantula) : tarruella at users dot sourceforge dot net

PyXMLUnit project page at Sourceforge.net