pytest-relaxed 2.0.2-1 source package in Ubuntu
Changelog
pytest-relaxed (2.0.2-1) unstable; urgency=medium * Initial upload (Closes: #1008768) -- Alexandre Detiste <email address hidden> Wed, 08 May 2024 16:34:46 +0200
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- any
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
pytest-relaxed_2.0.2-1.dsc | 2.1 KiB | 32f8d9801d1ad2cfd1b91c0cfb75af1297451295e9641d76bc8b1c0abe2ea522 |
pytest-relaxed_2.0.2.orig.tar.gz | 21.6 KiB | aba10bf2dd25ef25b0a6e116e5ee10e43852fe285f66a4092984c87cbfcf5b18 |
pytest-relaxed_2.0.2-1.debian.tar.xz | 2.2 KiB | 77621c2f40673f42299f37f46f00c61aa276829ea125b0f9aa8ad06d7e01373e |
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.