2009-07-21 00:54:08 +08:00
|
|
|
|
2010-01-13 23:00:33 +08:00
|
|
|
report test coverage using the 'figleaf' package.
|
|
|
|
=================================================
|
2009-07-21 00:54:08 +08:00
|
|
|
|
|
|
|
|
2010-01-13 23:00:33 +08:00
|
|
|
.. contents::
|
|
|
|
:local:
|
2009-07-21 00:54:08 +08:00
|
|
|
|
2010-01-13 23:00:33 +08:00
|
|
|
Usage
|
|
|
|
---------------
|
2009-07-21 00:54:08 +08:00
|
|
|
|
2010-07-07 21:41:28 +08:00
|
|
|
after pip or easy_install mediated installation of ``pytest-figleaf`` you can type::
|
2009-07-21 00:54:08 +08:00
|
|
|
|
2010-01-13 23:00:33 +08:00
|
|
|
py.test --figleaf [...]
|
2009-07-21 00:54:08 +08:00
|
|
|
|
2010-01-13 23:00:33 +08:00
|
|
|
to enable figleaf coverage in your test run. A default ".figleaf" data file
|
2010-07-07 21:41:28 +08:00
|
|
|
and "html" directory will be created. You can use ``--fig-data``
|
|
|
|
and ``fig-html`` to modify the paths.
|
2010-01-13 23:00:33 +08:00
|
|
|
|
|
|
|
command line options
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
|
|
|
|
``--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".
|
|
|
|
|
|
|
|
.. include:: links.txt
|