Port details on branch 2022Q2 |
- py-pyhamcrest Hamcrest matchers for Python
- 2.0.3 textproc =1 2.0.3Version of this port present on the latest quarterly branch.
- Maintainer: ultima@FreeBSD.org
- Port Added: 2018-03-03 07:16:21
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: py39-Automat, freeimage, font-misc-meltho, libjxl, py39-pycparser
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/hamcrest/PyHamcrest
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}PyHamcrest>0:textproc/py-pyhamcrest@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-pyhamcrest/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-pyhamcrest
- pkg install py39-PyHamcrest
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-PyHamcrest listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-PyHamcrest
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1641865846
SHA256 (hamcrest-PyHamcrest-V2.0.3_GH0.tar.gz) = 7e3738e73be4743b012f697aa4d2aab17cb3320196a95f56bbc09ae68a3b7f06
SIZE (hamcrest-PyHamcrest-V2.0.3_GH0.tar.gz) = 59353
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-hypothesis>=1.11 : devel/py-hypothesis@py39
- py39-pytest>=2.8 : devel/py-pytest@py39
- py39-mock>=0 : devel/py-mock@py39
- py39-pytest-cov>=0 : devel/py-pytest-cov@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- textproc_py-pyhamcrest
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|