report test coverage using the 'figleaf' package.
after pip or easy_install mediated installation of pytest-figleaf you can type:
py.test --figleaf [...]
to enable figleaf coverage in your test run. A default ".figleaf" data file
and "html" directory will be created. You can use --fig-data
and fig-html to modify the paths.
- --figleaf
- trace python coverage with figleaf and write HTML for files below the current working dir
- --fig-data=dir
- set tracing file, default: ".figleaf".
- --fig-html=dir
- set html reporting dir, default "html".
Start improving this plugin in 30 seconds
- Download pytest_figleaf.py plugin source code
- put it somewhere as pytest_figleaf.py into your import path
- a subsequent py.test run will use your local version
Checkout customize, other plugins or get in contact.