Jacob S. wrote:
Ahh... I found that out today. A little more rest, I guess.

As for unit testing, I've seen it used, but I've never implemented it.
I've tried doc string testing with doctest, but I find I can do better just
using the interactive interpreter.

I think one way to use doctest is to copy and paste from the interactive interpreter. So your ad hoc tests are preserved as documentation and unit tests.


I have never tried this myself, though; I'm a fan of unittest.

Kent

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

Reply via email to