BSD Ports

devel/py-test-relaxed 2.0.2nb1 NetBSD

Relaxed test discovery/organization for pytest

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
devel, python
Package size
22.0 KiB, 69.2 KiB installed

Description

pytest-relaxed provides 'relaxed' test discovery for pytest.

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.

In the other systems

The newest version among them is 2.0.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/py-test-relaxed2.0.2nb1 newestnone known-[email protected]-
OpenBSDdevel/py-test-relaxed2.0.2p2 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-11

Compare across BSDs

Install

Binary package:

pkgin install py311-test-relaxed

From pkgsrc:

cd /usr/pkgsrc/devel/py-test-relaxed && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.0.2nb1
NetBSD 10.1 aarch642.0.2nb1
SmartOS / illumos x86_642.0.2nb1
macOS 15 arm642.0.2nb1

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-test-relaxed-2.0.2nb1, py313-test-relaxed-2.0.2nb1, py314-test-relaxed-2.0.2nb1