doctest or pyunit?

Alex Martelli aleaxit at yahoo.com
Wed May 2 12:25:49 EDT 2001


"Fredrik Lundh" <fredrik at pythonware.com> wrote in message
news:t0WH6.8042$sk3.2226233 at newsb.telia.net...
    [snip]
> in my experience (having tried pyunit, several homebrewn frameworks,
> including ports of the original smalltalk framework, greg's unittest, and
> doctest), using doctest on test scripts beats all other approaches.
> less code, less work, easier to debug the tests.  ymmv, as usual.

Just as another datapoint, my personal mileage has been similar to
the effbot's, but I have not tried pyunit seriously myself, yet (I
like doctest so much that I need to PUSH myself HARD to go and try
the richer pyunit...).


Alex






More information about the Python-list mailing list