I used to think python doctests were the greatest thing since sliced bread. I no longer think this and I've returned to the basics (most of the time): plain old unittests. So let me explain why.
This is the crux of the matter: documents are supposed to be documents and readable as such. Too often I see doctests that stray from readability in
(
Read more... )