Saturday, August 9, 2014

Nosetests and pdb

I sat there looking at a testing error and thought "Can't we automatically invoke the debugger when a test fails". This is Python, of course someone has a solution for that.

nosetests --pdb

will invoke the debugger .when one of your tests goes south.

No comments:

Post a Comment