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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | devel/py-test-relaxed | 2.0.2nb1 newest | none known | - | [email protected] | - |
| OpenBSD | devel/py-test-relaxed | 2.0.2p2 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-08-11 |
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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.0.2nb1 |
| NetBSD 10.1 aarch64 | 2.0.2nb1 |
| SmartOS / illumos x86_64 | 2.0.2nb1 |
| macOS 15 arm64 | 2.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