Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #690 > unrolled thread

pytest-timeout 0.3: py.test plugin to abort long-running tests

Started byFloris Bruynooghe <flub@devork.be>
First post2012-09-19 01:00 +0100
Last post2012-09-19 01:00 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  pytest-timeout 0.3: py.test plugin to abort long-running tests Floris Bruynooghe <flub@devork.be> - 2012-09-19 01:00 +0100

#690 — pytest-timeout 0.3: py.test plugin to abort long-running tests

FromFloris Bruynooghe <flub@devork.be>
Date2012-09-19 01:00 +0100
Subjectpytest-timeout 0.3: py.test plugin to abort long-running tests
Message-ID<mailman.930.1348078329.27098.python-announce-list@python.org>
Hello all,

I am pleased to announce the release of pytest-timeout 0.3.

http://pypi.python.org/pypi/pytest-timeout/0.3

pytest-timeout is a plugin for py.test which allows you to abort tests
after a specific timeout.  This is useful to e.g. handle hanging tests
on a continuous integration server.  When tests are aborted you will
get stack dumps of all threads in the python process to help you debug
why the test hung.

All feedback is welcome.  Please use the bug tracker on bitbucket to
report any issues:
https://bitbucket.org/flub/pytest-timeout/

Changelog since 0.2:

* Added the PYTEST_TIMEOUT environment variable as a way of specifying
  the timeout (closes issue #2).

* More flexible marker argument parsing: you can now specify the
  method using a positional argument.

* The plugin is now enabled by default.  There is no longer a need to
  specify ``timeout=0`` in the configuration file or on the command
  line simply so that a marker would work.


Regards,
Floris

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web