pytest-relaxed 2.0.2-2 source package in Ubuntu
Changelog
pytest-relaxed (2.0.2-2) unstable; urgency=medium * This is an arch:all package -- Alexandre Detiste <email address hidden> Sun, 12 May 2024 00:40:05 +0200
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
pytest-relaxed_2.0.2-2.dsc | 2.1 KiB | 867da3271e061f1654c1a21a345b29b92e72228e8c5395b1836a2836af2a719e |
pytest-relaxed_2.0.2.orig.tar.gz | 21.6 KiB | aba10bf2dd25ef25b0a6e116e5ee10e43852fe285f66a4092984c87cbfcf5b18 |
pytest-relaxed_2.0.2-2.debian.tar.xz | 2.2 KiB | 632501565be50b4e30c69871f947af5434541b24a7db1f435eb1507d190bb4c8 |
Available diffs
- diff from 2.0.2-1 to 2.0.2-2 (470 bytes)
No changes file available.
Binary packages built by this source
- python3-pytest-relaxed: 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 put 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.