[Python-Dev] Unittest PEP do's and don'ts (BDFL pronouncement)

Michael Foord fuzzyman at voidspace.org.uk
Wed Jul 16 23:18:20 CEST 2008


C. Titus Brown wrote:
> [snip..]
> Paranthetically, wrt unittest, the world seems to be divided into two
> kinds of people : those who find the current API uninspiring but ok, and
> those who absolutely hate it.  Has anyone said that they *love* the
> current unittest API with all of its boilerplate?  If not, then I think
> that says something, no?
>
> --titus
>   

Collecting testcases from the filesystem is a pain. But actually writing 
tests (including custom TestCases) using the unittest API is fine. I 
find unittest straightforward and readable, I like it.

I don't understand a lot of the criticism comes in for.

Michael

-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/



More information about the Python-Dev mailing list