[SciPy-dev] Using nose
Sun Oct 5 01:16:19 CDT 2008
2008/10/5 Nathan Bell <firstname.lastname@example.org>:
> On Sun, Oct 5, 2008 at 2:08 AM, Anne Archibald
> <email@example.com> wrote:
>> While we're on the subject of testing, what's the best way to run a
>> (or some) tests and get dropped into the debugger when something goes
>> wrong? With my own code and unittest I there was a magic invocation (I
>> think it was MyTestClass().debug()) that I could run from inside
>> ipython with %pdb, so that when an exception was triggered I wound up
>> in the debugger. What's the best way to arrange this when I'm dealing
>> with debugging a module inside scipy?
> Is this what you're looking for?
> $nosetests --pdb --pdb-failures scipy.something
Perfect, thank you!
More information about the Scipy-dev