Package Info

python-pytest-timeout


Pytest plugin to abort hanging tests


Unspecified

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.


License: MIT
URL: https://github.com/pytest-dev/pytest-timeout/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.3.3-bp152.2.3.1 info openSUSE-2021-726 2021-05-14 15 SP2 Update
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-timeout
  • python3-pytest-timeout
1.3.4-bp153.1.20 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-timeout
  • python3-pytest-timeout
1.3.4-bp152.1.10 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-timeout
  • python3-pytest-timeout
1.3.3-bp151.2.3 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-timeout
  • python3-pytest-timeout
1.2.1-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pytest-timeout
  • python3-pytest-timeout