py.test plugin that activates the fault handler module during testing
Python
Pull request Compare This branch is even with pytest-dev:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
CHANGELOG.rst
LICENSE
README.rst
appveyor.yml
pytest_faulthandler.py
setup.cfg
setup.py
test_pytest_faulthandler.py
tox.ini

README.rst

pytest-faulthandler

Plugin for pytest that automatically enables the faulthandler module during tests.

Inspired by the nose faulthandler plugin.

python version anaconda ci appveyor

Usage

The plugin is always active by default, but you can disable it by passing --no-faulthandler to py.test.

Options:

  • --faulthandler-timeout=TIMEOUT: Dump the traceback of all threads if a test takes more than TIMEOUT seconds to finish.

Requirements

  • Python 2.6+, Python 3.3+
  • pytest
  • faulthandler

Install

Install using pip:

$ pip install pytest-faulthandler

Change Log

Please consult the CHANGELOG.