#2135 make-test ehancements for developer debugging
Closed: Fixed None Opened 12 years ago by jdennis.

It would be really handy to run the unit tests under the PDB debugger. There are currently two command line options for running the tests under PDB, unfortunately they only work for breaking into the debugger when a problem occurs. But suppose you want to set a breakpoint before the unit tests begin. There should be an option to run the unit tests under PDB but immediately enter the debugger before executing any of the tests so you can set up break points etc.

Also it would be beneficial to turn off the test framework's (nosetests) from capturing stdout, without that you can't just add some print statements and see them as the code executes.


submitted as

[PATCH 54/54] ticet 2135 - enhance make-test for debugging

Why was this moved to the backlog when there is already a patch submitted?

The patch was NACKed and not resubmitted. Given that this is a developer-only improvement I figured time was better spent elsewhere.

Petr has submitted

[PATCH] 0033 Pass make-test arguments through to Nose + Test coverage

Which supersedes this,

Fixed using patch from Petr Viktorin.

master: fca43cc

ipa-2-2: 05f90cf

Metadata Update from @jdennis:
- Issue assigned to jdennis
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/04

7 years ago

Login to comment on this ticket.

Metadata