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


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

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

Date 2012-09-19 01:00 +0100
Subject pytest-timeout 0.3: py.test plugin to abort long-running tests
From Floris Bruynooghe <flub@devork.be>
Newsgroups comp.lang.python.announce
Message-ID <mailman.930.1348078329.27098.python-announce-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web