To test all doctests you can:


./runtests.py 


Alternatives:

nose
----
nosetests --pdb-failure --with-doctest --doctest-extension=txt  


py.test
-------

py.test --pdb --doctest-glob=*txt

