Re: Off topic: Python unit testing tools

On Sat, 2005-10-22 at 11:01 +0100, Graham Klyne wrote:
> [...] any Python
> equivalents to Mock object, XMLUnit and HTTPUnit libraries available in
> Java?

I'm not sure what those are.

There is of course pyunit
http://pyunit.sourceforge.net/

I gather it's "batteries included"... yes...
http://docs.python.org/lib/module-unittest.html

I have only a little experience with it.
http://www.w3.org/2000/10/swap/uripath.py

I use doctest pretty regularly.
http://docs.python.org/lib/module-doctest.html

On the chance that HTTPunit is what I think it is,
I think the equivalent is:
 Website unit/regression testing tool
 http://mechanicalcat.net/tech/webunit/

 <- http://wwwsearch.sourceforge.net/mechanize/
 <- http://del.icio.us/connolly/testing+python

>   Even if they're only very embryonic, I'd much rather throw my
> efforts into supporting an existing project than trying to create new
> libraries.
> 
> #g
> 
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Saturday, 22 October 2005 13:10:06 UTC