ANN: pry unit testing framework

Matthieu Brucher matthieu.brucher at gmail.com
Sun Apr 6 12:03:45 CEST 2008


2008/4/5, Aldo Cortesi <aldo at nullcube.com>:
>
> Thus spake Matthieu Brucher (matthieu.brucher at gmail.com):
>
>
> > How does it compare to the nose framework ?
>
>
> As far as the base unit testing functionality is concerned, I think
> they try to address similar problems. Both have assert-based testing
> with inspection and re-parsing of assert exceptions for better error
> messages. Both try to provide better fixture management. Both make
> programmatic test generation easier. Both have a command-line tool for
> running and gathering tests.
>
> I like nose, but I'm biased, and of course I think Pry has some
> advantages. One difference I'd point out is Pry's tree-based test
> structure, which provides a number of conveniences and features (much
> nicer test selection from the command line, for instance). Pry is also
> less than half the size of nose, and should therefore be simpler to
> extend and understand.
>
> At any rate, feel free to take a look at Pry and see what you think.
>

One last question : does it take doctests into account ?

Thanks for the last answer ;)

Matthieu
-- 
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080406/bcbe7d76/attachment.html>


More information about the Python-list mailing list