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


Groups > linux.debian.maint.python > #14036

Bug#1008768: ITP: pytest-relaxed -- provide relaxed test discovery for pytest

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Antoine Beaupre <anarcat@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.devel, linux.debian.maint.python
Subject Bug#1008768: ITP: pytest-relaxed -- provide relaxed test discovery for pytest
Date Fri, 01 Apr 2022 03:20:01 +0200
Message-ID <E7e7f-5yU5-1@gated-at.bofh.it> (permalink)
X-Original-To Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Apr 1 01:15:10 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -6.71
Reply-To Antoine Beaupre <anarcat@debian.org>, 1008768@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message report 1008768
X-Debian-Pr-Package wnpp
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 7.10.3+deb11u1
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1711719
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 33
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 31 Mar 2022 21:12:42 -0400
X-Original-Message-ID <164877556298.48170.8095887769625683106.reportbug@angela.anarc.at>
Xref csiph.com linux.debian.bugs.dist:1098852 linux.debian.devel:104042 linux.debian.maint.python:14036

Cross-posted to 3 groups.

Show key headers only | View raw


Package: wnpp
Severity: wishlist
Owner: Antoine Beaupre <anarcat@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org

* Package name    : pytest-relaxed
  Version         : 1.1.5
  Upstream Author : bitprophet
* URL             : https://github.com/bitprophet/pytest-relaxed/
* License         : BSD-2
  Programming Lang: Python
  Description     : provide relaxed test discovery for pytest

This is the spiritual successor to https://pypi.python.org/pypi/spec,
but is built for pytest instead of nosetests, and rethinks some
aspects of the design (such as increased ability to opt-in to various
behaviors.)

Has it ever felt strange to you that we put our tests in tests/, then
name the files test_foo.py, name the test classes TestFoo, and finally
name the test methods test_foo_bar? Especially when almost all of the
code inside of tests/ is, well, tests?

This pytest plugin takes a page from the rest of Python, where you
don't have to explicitly note public module/class members, but only
need to hint as to which ones are private. By default, all files and
objects pytest is told to scan will be considered tests; to mark
something as not-a-test, simply prefix it with an underscore.

----

This is a dependency of the python-invoke test suite. Binary package
would, of course, probably be python3-pytest-relaxed.

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Bug#1008768: ITP: pytest-relaxed -- provide relaxed test discovery for pytest Antoine Beaupre <anarcat@debian.org> - 2022-04-01 03:20 +0200

csiph-web