[TIP] Context Sensitive Traceback in nosetests Error

Kumar McMillan kumar.mcmillan at gmail.com
Tue Jul 12 14:56:25 PDT 2011


On Tue, Jul 12, 2011 at 4:07 PM, Kamal Ahmed <kamal2222ahmed at yahoo.com> wrote:
> Super thanks,
>
> I am using
> http://nosetrim.googlecode.com/svn/trunk/nosetrim/nosetrim.py

Note that this plugin still has an old entry point in its setup.  The
proper one to use is [nose.plugins.0.10].

> as an example
>
> ________________________________
> From: jason pellerin <jpellerin at gmail.com>
> To: Kamal Ahmed <kamal2222ahmed at yahoo.com>
> Cc: tip <testing-in-python at lists.idyll.org>
> Sent: Tuesday, July 12, 2011 9:29 AM
> Subject: Re: [TIP] Context Sensitive Traceback in nosetests Error
>
>> 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
>
>
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
>
>



More information about the testing-in-python mailing list