3 ms·
I write unit tests. This is still very useful to me...sometimes even in the process of writing those tests.
by bjpless 14y ago
I write unit tests. This is still very useful to me...sometimes even in the process of writing those tests.
- tbatterii 14y agono argument from me on how useful it is.
- AnIrishDuck 14y agoI usually just drop into pdb wherever I want to prototype my tests.
- lost-theory 14y agoYes, especially with nose's --pdb and --pdb-failures options.
- tbatterii 14y agoor in ipython just type pdb
- gbog 14y agopdb is a bit scary. Is there a way to drop "into pdb into ipython"?
- lawlesst 14y agoThere is ipdb. "ipdb exports functions to access the IPython debugger, which features tab completion, syntax highlighting, better tracebacks, better introspection with the same interface as the pdb module." http://pypi.python.org/pypi/ipdb http://pypi.python.org/pypi/ipdb