[TIP] Context Sensitive Traceback in nosetests Error

jason pellerin jpellerin at gmail.com
Tue Jul 12 06:29:07 PDT 2011


> 1. Is there a nosetests plugin that can append the command line context to
> Traceback ?

Not that I know of.

> 2. Is the best way to resolve this is to write a plugin ?

Yes! :)

> if i were to write
> a plugin, i need a bit of help where to start. Like :

You can see all of the command line options in your plugin's configure method:

http://packages.python.org/nose/plugins/interface.html#nose.plugins.base.IPluginInterface.configure

JP



More information about the testing-in-python mailing list