[TIP] coverage reporting

Titus Brown titus at caltech.edu
Mon Aug 6 08:53:20 PDT 2007


On Mon, Aug 06, 2007 at 10:50:58AM -0500, Kumar McMillan wrote:
-> 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/

Well, that does something slightly different.  The code he has should
work, dangitall!

--titus



More information about the testing-in-python mailing list