python-pytest-timeout_0.4-2_all.deb


Advertisement

Description

python-pytest-timeout - Pytest plugin to abort hanging tests - Python 2.X

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe amd64
Package name: python-pytest-timeout
Package version: 0.4
Package release: 2
Package architecture: all
Package type: deb
Installed size: 49 B
Download size: 11.88 KB
Official Mirror: archive.ubuntu.com
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. The pytest-timeout plugin has been tested on Python 2.6 or higher, including 3.X and pypy. This package provides support for Python 2.X.

Alternatives

    Download

    Source package: python-pytest-timeout

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python-pytest-timeout deb package:
      # sudo apt-get install python-pytest-timeout

    Files

    • /usr/lib/python2.7/dist-packages/pytest_timeout.py
    • /usr/lib/python2.7/dist-packages/pytest_timeout-0.4.egg-info/PKG-INFO
    • /usr/lib/python2.7/dist-packages/pytest_timeout-0.4.egg-info/dependency_links.txt
    • /usr/lib/python2.7/dist-packages/pytest_timeout-0.4.egg-info/entry_points.txt
    • /usr/lib/python2.7/dist-packages/pytest_timeout-0.4.egg-info/requires.txt
    • /usr/lib/python2.7/dist-packages/pytest_timeout-0.4.egg-info/top_level.txt
    • /usr/share/doc/python-pytest-timeout/README.gz
    • /usr/share/doc/python-pytest-timeout/TODO
    • /usr/share/doc/python-pytest-timeout/changelog.Debian.gz
    • /usr/share/doc/python-pytest-timeout/copyright

    Changelog

    2015-08-17 - gustavo panizzo <gfa@zumbi.com.ar> python-pytest-timeout (0.4-2) unstable; urgency=medium * Call tests from debian/rules, fix FTBFS (Closes: #795001).

    2015-02-28 - gustavo panizzo <gfa@zumbi.com.ar> python-pytest-timeout (0.4-1) unstable; urgency=low * Initial release. (Closes: #779417)

    Advertisement
    Advertisement