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.

coverage (external) for testing with Ned's coverage module

monkeypatch safely patch object attributes, dicts and environment variables.

capture configurable per-test stdout/stderr capturing mechanisms.

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

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.