add links to new plugins

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-04-12 16:08:12 +02:00
parent d994c51ccd
commit 1d28dcf140
5 changed files with 67 additions and 10 deletions

View File

@ -1,3 +1,9 @@
Changes between 1.2.1 and XXX
=====================================
- added links to the new capturelog and coverage plugins
Changes between 1.2.1 and 1.2.0
=====================================

View File

@ -5,10 +5,10 @@ WIDTH = 75
plugins = [
('advanced python testing',
'skipping mark pdb figleaf '
'monkeypatch capture recwarn tmpdir',),
'monkeypatch coverage capture capturelog recwarn tmpdir',),
('distributed testing, CI and deployment',
'xdist pastebin junitxml resultlog genscript',),
('testing domains and conventions',
('testing domains and conventions codecheckers',
'oejskit django unittest nose doctest restdoc'),
('internal, debugging, help functionality',
'helpconfig terminal hooklog')
@ -22,6 +22,9 @@ externals = {
'oejskit': "run javascript tests in real life browsers",
'xdist': None,
'figleaf': None,
'capturelog': None,
'coverage': None,
'codecheckers': None,
'django': "for testing django applications",
}

View File

@ -1,9 +1,51 @@
pytest_coverage plugin (EXTERNAL)
==========================================
This plugin allows to use Ned's coverage_ package, see
http://github.com/rozza/py.test-plugins
Write and report coverage data with the 'coverage' package.
===========================================================
.. _coverage: http://pypi.python.org/pypi/coverage
.. contents::
:local:
Note: Original code by Ross Lawley.
Install
--------------
Use pip to (un)install::
pip install pytest-coverage
pip uninstall pytest-coverage
or alternatively use easy_install to install::
easy_install pytest-coverage
Usage
-------------
To get full test coverage reports for a particular package type::
py.test --cover-report=report
command line options
--------------------
``--cover=COVERPACKAGES``
(multi allowed) only include info from specified package.
``--cover-report=REPORT_TYPE``
html: Directory for html output.
report: Output a text report.
annotate: Annotate your source code for which lines were executed and which were not.
xml: Output an xml report compatible with the cobertura plugin for hudson.
``--cover-directory=DIRECTORY``
Directory for the reports (html / annotate results) defaults to ./coverage
``--cover-xml-file=XML_FILE``
File for the xml report defaults to ./coverage.xml
``--cover-show-missing``
Show missing files
``--cover-ignore-errors=IGNORE_ERRORS``
Ignore errors of finding source files for code.
.. include:: links.txt

View File

@ -12,8 +12,12 @@ figleaf_ (external) report test coverage using the 'figleaf' package.
monkeypatch_ safely patch object attributes, dicts and environment variables.
coverage_ (external) Write and report coverage data with the 'coverage' package.
capture_ configurable per-test stdout/stderr capturing mechanisms.
capturelog_ (external) capture output of logging module.
recwarn_ helpers for asserting deprecation and other warnings.
tmpdir_ provide temporary directories to test functions.
@ -33,8 +37,8 @@ resultlog_ non-xml machine-readable logging of test results.
genscript_ generate standalone test script to be distributed along with an application.
testing domains and conventions
===============================
testing domains and conventions codecheckers
============================================
oejskit_ (external) run javascript tests in real life browsers

View File

@ -19,6 +19,7 @@
.. _`pytest_tmpdir.py`: http://bitbucket.org/hpk42/py-trunk/raw/1.2.1/py/_plugin/pytest_tmpdir.py
.. _`terminal`: terminal.html
.. _`pytest_hooklog.py`: http://bitbucket.org/hpk42/py-trunk/raw/1.2.1/py/_plugin/pytest_hooklog.py
.. _`capturelog`: capturelog.html
.. _`junitxml`: junitxml.html
.. _`pytest_skipping.py`: http://bitbucket.org/hpk42/py-trunk/raw/1.2.1/py/_plugin/pytest_skipping.py
.. _`checkout the py.test development version`: ../../install.html#checkout
@ -35,6 +36,7 @@
.. _`recwarn`: recwarn.html
.. _`pytest_pdb.py`: http://bitbucket.org/hpk42/py-trunk/raw/1.2.1/py/_plugin/pytest_pdb.py
.. _`monkeypatch`: monkeypatch.html
.. _`coverage`: coverage.html
.. _`resultlog`: resultlog.html
.. _`pytest_junitxml.py`: http://bitbucket.org/hpk42/py-trunk/raw/1.2.1/py/_plugin/pytest_junitxml.py
.. _`django`: django.html