summaryrefslogtreecommitdiff
path: root/doc/en/test/plugin/index.rst
blob: 853a4dce681c8f6bbec1f71759e12be959016e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

advanced python testing
=======================

skipping_ advanced skipping for python test functions, classes or modules.

mark_ generic mechanism for marking python functions.

pdb_ interactive debugging with the Python Debugger.

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.

cov_ (external) produce code coverage reports using the 'coverage' package, including support for distributed testing.

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.


distributed testing, CI and deployment
======================================

xdist_ (external) loop on failing tests, distribute test runs to CPUs and hosts.

pastebin_ submit failure or test session information to a pastebin service.

junitxml_ logging of test results in JUnit-XML format, for use with Hudson

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 codecheckers
============================================

oejskit_ (external) run javascript tests in real life browsers

django_ (external) for testing django applications

unittest_ automatically discover and run traditional "unittest.py" style tests.

nose_ nose-compatibility plugin: allow to run nose test suites natively.

doctest_ collect and execute doctests from modules and test files.

restdoc_ perform ReST syntax, local and remote reference tests on .rst/.txt files.


internal, debugging, help functionality
=======================================

helpconfig_ provide version info, conftest/environment config names.

terminal_ Implements terminal reporting of the full testing process.

hooklog_ log invocations of extension hooks to a file.


.. include:: links.txt