Skip to content

py.test plugin that activates the fault handler module during testing

License

Notifications You must be signed in to change notification settings

mhils/pytest-faulthandler

 
 

Repository files navigation

pytest-faulthandler

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

Inspired by the nose faulthandler plugin.

python version downloads 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.7+, Python 3.4+
  • pytest
  • faulthandler

Install

Install using pip:

$ pip install pytest-faulthandler

Change Log

Please consult the CHANGELOG.

About

py.test plugin that activates the fault handler module during testing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%