tha.coverage provides a bin/createcoverage script that servers as a one-line coverage report generator. It is essentially a wrapper around z3c.coverage. It is intended for use inside buildouts, as it assumes a bin/test command.
To install, add tha.coverage to a zc.recipe.egg section. You often already have one for common scripts. So something like this:
[buildout] ... parts = ... console_scripts [console_scripts] recipe = zc.recipe.egg eggs = ... tha.coverage
This gives you a bin/createcoverage script that does the following:
The OSX update that came out this morning comes with a fix to the enscript command, so if you tried z3c.coverage before but were plagued with an “unkown argument –footer” error: that’s gone now. It was never a problem on linux, of course.
My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):