Regards testing, I've been playing with both the unittest 
(http://pyunit.sourceforge.net/pyunit.html) and doctest 
(http://docs.python.org/lib/module-doctest.html). I was wondering what 
peoples thoughts were on the effectiveness and convenience of one versus 
the other. It seems to me that doctest is good for quicky and 
straightforwards input/output tests for small units, whereas unittest 
would be good for dynamic or complicated testing.

Where do you seasoned pythonites see unittest and doctest in relation to 
each other? Do you only use one or the other?

ta,
alex


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to