42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
|
|
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".
|
|
|
|
Start improving this plugin in 30 seconds
|
|
=========================================
|
|
|
|
|
|
1. Download `pytest_figleaf.py`_ plugin source code
|
|
2. put it somewhere as ``pytest_figleaf.py`` into your import path
|
|
3. a subsequent ``py.test`` run will use your local version
|
|
|
|
Checkout customize_, other plugins_ or `get in contact`_.
|
|
|
|
.. include:: links.txt
|