Ticket #6143 enhancement closed duplicate
Add an option for dropping into a debugger only after an error/failure
|Reported by:||Julian||Owned by:||mayank|
See nosetests --pdb and --pdb-failures and py.test --pdb which both do it this way, rather than needing to step through test runner code.
I personally don't really use them independently of one another (like nose has it) so IMHO just a single option for dropping in either case into a debugger would be fine.
Since --debug is taken, I can't think of a great name immediately. --debug-non-successes is kinda long.