test_ok1/doc/test/plugin/figleaf.txt

32 lines
749 B
Plaintext
Raw Normal View History

report test coverage using the 'figleaf' package.
=================================================
.. contents::
:local:
Usage
---------------
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.
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