[TIP] coverage reporting

Kumar McMillan kumar.mcmillan at gmail.com
Mon Aug 6 08:50:58 PDT 2007


On 8/2/07, David Dahl <ddahl at ilm.com> wrote:
> The nose/coverage.py reports looks great, but when I use
> figleaf it seems like the (html) report generated is doing coverage on
> the tests and not the package I am testing. here is how I am invoking it:
>
> -----------------------------------------
> import sys
>
> import figleaf
> import nose
>
> args = sys.argv
>
> figleaf.start()
>
> nose.run(argv=args)
>
> figleaf.stop()
>
> figleaf.write_coverage('.figleaf')

[Hi Dave]

Have you tried using the pinocchio plugin (--with-figleafsections) directly?
http://darcs.idyll.org/~t/projects/pinocchio/doc/



More information about the testing-in-python mailing list