Sie befinden sich hier: eisfair / Pack-Eis
News News News

Navigation

Content

python310-pytest-timeout (python3)

Python 3.10 - pytest-timeout - plugin to abort hanging tests (Offizielles Paket)

Version: 3.4.2 Status: stable Release Datum: 2023-07-11
Autor: the eisfair team, team(at)eisfair(dot)org
Internal Program Version: pytest-timeout  2.1.0

This is a plugin which will terminate tests after a certain timeout.
When doing so it will show a stack dump of all threads running at the
time.  This is useful when running tests under a continuous
integration server or simply if you don't know why the test suite
hangs.

Note that while by default on POSIX systems py.test will continue to
execute the tests after a test has timed, out this is not always
possible.  Often the only sure way to interrupt a hanging test is by
terminating the entire process.  As this is a hard termination
(``os._exit()``) it will result in no teardown, JUnit XML output etc.
But the plugin will ensure you will have the debugging output on
stderr nevertheless, which is the most important part at this stage.
See below for detailed information on the timeout methods and their
side-effects.

http://bitbucket.org/pytest-dev/pytest-timeout
SHA256-Prüfsumme: f749da2a3e19900ad9489d9207f4c77dfc545a9f21169c657b6ec1d9b9f8009a
Größe: 17.46 KByte
Info-Datei: https://www.pack-eis.de/dl.php?l=59649/python310-pytest-timeout.tar.bz2.info
Benötigte Pakete: python310-base 3.4.2
python310-pytest 3.4.0