Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#6143 enhancement closed duplicate (duplicate)

Add an option for dropping into a debugger only after an error/failure

Reported by: Julian Berman Owned by: Mayank
Priority: normal Milestone:
Component: trial Keywords: easy
Cc: Jonathan Lange Branch:
Author:

Description

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.

Change History (6)

comment:1 Changed 5 years ago by DefaultCC Plugin

Cc: Jonathan Lange added

comment:2 Changed 5 years ago by Julian Berman

#2230 was a duplicate of this. When this lands, we should make sure the desired behavior there re: --until-failure works properly.

comment:3 Changed 5 years ago by Julian Berman

Keywords: easy added

comment:4 Changed 5 years ago by Mayank

Owner: set to Mayank
Status: newassigned

comment:5 Changed 5 years ago by Glyph

Resolution: duplicate
Status: assignedclosed

Since #2330 is the much older ticket here, I'm closing this one as a duplicate instead.

comment:6 in reply to:  5 Changed 5 years ago by Glyph

Replying to glyph:

Since #2330 is the much older ticket here, I'm closing this one as a duplicate instead.

Ahem. #2230.

Note: See TracTickets for help on using tickets.