pyhamcrest 2.1.0-1 source package in Ubuntu
Changelog
pyhamcrest (2.1.0-1) unstable; urgency=medium * Team upload. * New upstream version 2.1.0 * use new dh-sequence-python3 * enable 426 tests, disable 3 * add new build dependency on: * pybuild-plugin-pyproject * python3-hatchling * python3-hatch-vcs * remove old build dependencies: * python3-mock: hybridized in src/hamcrest/core/helpers/ismock.py * python3-six -- Alexandre Detiste <email address hidden> Sat, 17 Feb 2024 16:42:01 +0100
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- python
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | main | python | |
Noble | release | main | python |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
pyhamcrest_2.1.0-1.dsc | 2.1 KiB | cf458858f1a633349fe497595f54899496a6e335c9e01b19988fc51b33c9138b |
pyhamcrest_2.1.0.orig.tar.gz | 61.1 KiB | 3ce821e78ca4dd0a1d5993186b2cb98ef473ef7910c92116294f8c5f26b6b5ad |
pyhamcrest_2.1.0-1.debian.tar.xz | 5.2 KiB | fb2c0aabac53045050c3f493739edafcbb8fbeffa151c875fe4b255786da3e13 |
Available diffs
- diff from 2.0.3-2 to 2.1.0-1 (18.7 KiB)
No changes file available.
Binary packages built by this source
- python3-hamcrest: Hamcrest framework for matcher objects (Python 3)
PyHamcrest is a framework for writing matcher objects, allowing you to
declaratively define "match" rules. There are a number of situations where
matchers are invaluable, such as UI validation, or data filtering, but it is in
the area of writing flexible tests that matchers are most commonly used. This
tutorial shows you how to use PyHamcrest for unit testing.
.
When writing tests it is sometimes difficult to get the balance right between
overspecifying the test (and making it brittle to changes), and not specifying
enough (making the test less valuable since it continues to pass even when the
thing being tested is broken). Having a tool that allows you to pick out
precisely the aspect under test and describe the values it should have, to a
controlled level of precision, helps greatly in writing tests that are
"just right." Such tests fail when the behavior of the aspect under test
deviates from the expected behavior, yet continue to pass when minor,
unrelated changes to the behaviour are made.
.
This package provides the Python 3.x modules.