[TIP] Failure Post-Mortem Debugging with Nose/Unittest

Maru Newby mnewby at internap.com
Fri Mar 2 20:20:58 PST 2012

Long time listener, first time caller...

When I execute nose (python2.6, latest version of nose) against test classes that extend unittest.TestCase and use any of the assert* methods, an assertion failure drops me into the assertion method definition rather than assert* method call.  I can see that this would be simple enough to fix with a plugin that implemented formatFailure and filtered out the last traceback, but I can't help but think that somebody must have solved this problem already.  Anybody?  Or should I implement the plugin myself?



More information about the testing-in-python mailing list