Navigation
modules
next
|
pytest-2.2.4
»
quicklinks
home
TOC/contents
install
changelog
examples
customize
issues[bb]
contact
Next topic
Getting started basics
Full pytest documentation
ΒΆ
Download latest version as PDF
Getting started basics
Welcome to pytest!
Installation and Getting Started
Usage and Invocations
Good Integration Practises
Project examples
Some Issues and Questions
Usages and Examples
Demo of Python failure reports with py.test
Basic patterns and examples
Mysetup pattern: application specific test fixtures
Parametrizing tests
Working with custom markers
Changing standard (Python) test discovery
Working with non-python tests
py.test reference documentation
Pytest builtin helpers
Basic test configuration
The writing and reporting of assertions in tests
Injecting objects into test functions (funcargs)
Extended xUnit style setup fixtures
Capturing of the stdout/stderr output
Monkeypatching/mocking modules and environments
xdist: pytest distributed testing plugin
Temporary directories and files
Skip and xfail: dealing with tests that can not succeed
Marking test functions with attributes
Asserting deprecation and other warnings
Support for unittest.TestCase
Running tests written for nose
Doctest integration for modules and test files
Working with plugins and conftest files
conftest.py: local per-directory plugins
Installing External Plugins / Searching
Writing a plugin by looking at examples
Making your plugin installable by others
Plugin discovery order at tool startup
Requiring/Loading plugins in a test module or conftest file
Accessing another plugin by name
Finding out which plugins are active
Deactivating / unregistering a plugin by name
py.test default plugin reference
py.test hook reference
Hook specification and validation
Initialization, command line and configuration hooks
Generic “runtest” hooks
Collection hooks
Reporting hooks
Reference of important objects involved in hooks
Talks and Tutorials
Tutorial examples and blog postings
Conference talks and tutorials
Feedback and contribute to py.test
Contact channels
Working from version control or a tarball
Release announcements
pytest-2.2.2: bug fixes
pytest-2.2.1: bug fixes, perfect teardowns
py.test 2.2.0: test marking++, parametrization++ and duration profiling
py.test 2.1.3: just some more fixes
py.test 2.1.2: bug fixes and fixes for jython
py.test 2.1.1: assertion fixes and improved junitxml output
py.test 2.1.0: perfected assertions and bug fixes
py.test 2.0.3: bug fixes and speed ups
py.test 2.0.2: bug fixes, improved xfail/skip expressions, speed ups
py.test 2.0.1: bug fixes
py.test 2.0.0: asserts++, unittest++, reporting++, config++, docs++
Navigation
modules
next
|
pytest-2.2.4
»