Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Yaroslav Halchenko Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#1010168: RFP: python3-pytest-fail-slow -- pytest plugin for making tests fail that take too long to run Date: Mon, 25 Apr 2022 18:20:01 +0200 Message-ID: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Apr 25 16:12:10 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.962 Reply-To: Yaroslav Halchenko , 1010168@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-python@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 1010168 X-Debian-Pr-Package: wnpp Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 11.4.1 X-Sa-Exim-Connect-IP: 76.24.253.1 X-Sa-Exim-Rcpt-To: submit@bugs.debian.org, yoh@onerussian.com X-Sa-Exim-Mail-From: debian@onerussian.com X-Sa-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-Sa-Exim-Scanned: Yes (on smtp.onerussian.com) X-Debian-Message: from BTS X-Mailing-List: archive/latest/1714857 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 23 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 25 Apr 2022 12:09:46 -0400 X-Original-Message-ID: <165090298692.1331983.8388071138362805514.reportbug@lena.dartmouth.edu> Xref: csiph.com linux.debian.bugs.dist:1101303 linux.debian.maint.python:14079 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 * 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.