David Baumgold | 20 Jun 2012 21:20
Gravatar

nose: rudolf and coverage

I use nosetests[0] with the coverage plugin, but I love colors in my terminal. The "rudolf" plugin[1]
provides nose output with pretty colors, but says that it's incompatible with plugins that use the
.report() plugin method, including the coverage plugin, due to an issue with nose. The plugin also hasn't
been updated since 2007, and it looks like some kind soul has updated the plugin and uploaded it to PyPI as
"rudolf2" [2]. It appears that rudolf2 is still incompatible with coverage, but it no longer documents
that. 

What are the chances that the rudolf module (or another module that does the same thing) can be written that
works with coverage? Have the issues that prevented this in 2007 been resolved?
-David

[0]: http://nose.readthedocs.org/en/latest/
[1]: http://pypi.python.org/pypi/rudolf/
[2]: http://pypi.python.org/pypi/rudolf2
jason pellerin | 21 Jun 2012 15:31
Picon
Gravatar

Re: nose: rudolf and coverage

I doubt it can be fixed in nose -- nose's reporting layer is not very
flexible, especially when it comes to plugins having to interact with
each other. You might have more luck updating rudolf to work with
nose2, which is better about both of those things.

JP

On Wed, Jun 20, 2012 at 3:20 PM, David Baumgold <david <at> davidbaumgold.com> wrote:
> I use nosetests[0] with the coverage plugin, but I love colors in my terminal. The "rudolf" plugin[1]
provides nose output with pretty colors, but says that it's incompatible with plugins that use the
.report() plugin method, including the coverage plugin, due to an issue with nose. The plugin also hasn't
been updated since 2007, and it looks like some kind soul has updated the plugin and uploaded it to PyPI as
"rudolf2" [2]. It appears that rudolf2 is still incompatible with coverage, but it no longer documents that.
>
> What are the chances that the rudolf module (or another module that does the same thing) can be written that
works with coverage? Have the issues that prevented this in 2007 been resolved?
> -David
>
> [0]: http://nose.readthedocs.org/en/latest/
> [1]: http://pypi.python.org/pypi/rudolf/
> [2]: http://pypi.python.org/pypi/rudolf2
>
>
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python <at> lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

Gmane