Art of Unit Testing

Terry Reedy tjreedy at udel.edu
Thu Aug 4 01:53:15 EDT 2005


"Paul Rubin" <"http://phr.cx"@NOSPAM.invalid> wrote in message 
news:7xpssu8hzw.fsf at ruckus.brouhaha.com...
> I knew there was some other one before unittest came along but I thought
> unittest was supposed to replace the older stuff.

I believe unittest was an alternative rather than replacement for doctest.

> What's the preferred one, Pythonically speaking?

py.test was written, apparently, by pypy folks to replace unittest for pypy 
testing.  To me, it is more Pythonic in spirit, and I plan to try it for an 
upcoming TDD project.

Terry J. Reedy






More information about the Python-list mailing list