Linux-only Pytest plugin to control durations of various test case execution phases
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install pytest-timeoutspytest-timeouts
Linux-only Pytest plugin to control durations of various test case execution phases.
Documentation
For documentation visit pytest-timeouts.readthedocs.io.
About
This plugin has been designed for specific use cases which are out of the scope of famous pytest-timeout plugin.
It uses a SIGALRM signal to schedule a timer which breaks the test case.
Features
setup,executionandteardownphase timeouts controllable by:- opts:
--setup-timeout,--execution-timeoutand--teardown-timeout - ini:
setup_timeout,execution_timeoutandteardown_timeout - mark:
setup_timeout,execution_timeoutandteardown_timeout
- opts:
- fixed order of timeout settings: opts > > , controlled by