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


Groups > linux.debian.maint.python > #14079 > unrolled thread

Bug#1010168: RFP: python3-pytest-fail-slow -- pytest plugin for making tests fail that take too long to run

Started byYaroslav Halchenko <debian@onerussian.com>
First post2022-04-25 18:20 +0200
Last post2022-04-25 18:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python


Contents

  Bug#1010168: RFP: python3-pytest-fail-slow -- pytest plugin for making tests fail that take too long to run Yaroslav Halchenko <debian@onerussian.com> - 2022-04-25 18:20 +0200

#14079 — Bug#1010168: RFP: python3-pytest-fail-slow -- pytest plugin for making tests fail that take too long to run

FromYaroslav Halchenko <debian@onerussian.com>
Date2022-04-25 18:20 +0200
SubjectBug#1010168: RFP: python3-pytest-fail-slow -- pytest plugin for making tests fail that take too long to run
Message-ID<Eg9Bn-b83l-3@gated-at.bofh.it>
Package: wnpp
Severity: wishlist
X-Debbugs-Cc: debian-python@lists.debian.org

* Package name    : python3-pytest-fail-slow
  Version         : 0.1.0
  Upstream Author : John Thorvald Wodder II <pytest-fail-slow@varonathe.org>
* URL             : https://github.com/jwodder/pytest-fail-slow/
* License         : MIT/X
  Programming Lang: Python
  Description     : pytest plugin for making tests fail that take too long to run

pytest-fail-slow is a pytest plugin for making tests fail that take too
long to run. It adds a --fail-slow DURATION command-line option to pytest that
causes any & all otherwise-passing tests that run for longer than the given
duration to be marked as failures, and it adds a
@pytest.mark.fail_slow(DURATION) marker for making an individual test fail if
it runs for longer than the given duration. If --fail-slow is given and a test
has the @fail_slow() marker, the duration given by the marker takes precedence
for that test.

It will likely be necessary for testing the next (0.17) release of
DataLad package.

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web