Ticket #6143 enhancement closed duplicate

Opened 7 months ago

Last modified 4 weeks ago

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

Reported by: Julian Owned by: mayank
Priority: normal Milestone:
Component: trial Keywords: easy
Cc: jml Branch:
Author: Launchpad Bug:

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

1

  Changed 7 months ago by DefaultCC Plugin

  • cc jml added

2

  Changed 4 weeks ago by Julian

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

3

  Changed 4 weeks ago by Julian

  • keywords easy added

4

  Changed 4 weeks ago by mayank

  • status changed from new to assigned
  • owner set to mayank

5

follow-up: ↓ 6   Changed 4 weeks ago by glyph

  • status changed from assigned to closed
  • resolution set to duplicate

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

6

in reply to: ↑ 5   Changed 4 weeks 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.