{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","python"],"comment":"Framework for writing matcher objects","compare":"/compare/py3-hamcrest/index.json","dependentCount":null,"description":"PyHamcrest is a framework for writing matcher objects, allowing you to\ndeclaratively define \"match\" rules. There are a number of situations where\nmatchers are invaluable, such as UI validation, or data filtering, but it is in\nthe area of writing flexible tests that matchers are most commonly used.\n\nWhen writing tests it is sometimes difficult to get the balance right between\noverspecifying the test (and making it brittle to changes), and not specifying\nenough (making the test less valuable since it continues to pass even when the\nthing being tested is broken). Having a tool that allows you to pick out\nprecisely the aspect under test and describe the values it should have, to a\ncontrolled level of precision, helps greatly in writing tests that are \"just\nright.\" Such tests fail when the behavior of the aspect under test deviates\nfrom the expected behavior, yet continue to pass when minor, unrelated changes\nto the behaviour are made.","flavors":[{"comment":"Framework for writing matcher objects","pkgName":"py312-hamcrest-2.1.0"},{"comment":"Framework for writing matcher objects","pkgName":"py313-hamcrest-2.1.0"},{"comment":"Framework for writing matcher objects","pkgName":"py314-hamcrest-2.1.0"}],"html":"https://daemonports.org/netbsd/devel/py-hamcrest/","kind":"port","lastUpdate":null,"license":["modified-bsd"],"maintainer":"pkgsrc-users@NetBSD.org","name":"py311-hamcrest","newest":true,"newestVersion":"2.1.0","noVulnData":false,"origin":"devel/py-hamcrest","otherSystems":[{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/py-hamcrest","path":"/openbsd/devel/py-hamcrest/","system":"OpenBSD","updated":"2026-10-10","version":"2.1.0"}],"packages":[{"repo":"NetBSD 10.1 x86_64","versions":["2.1.0"]},{"repo":"NetBSD 10.1 aarch64","versions":["2.1.0"]},{"repo":"SmartOS / illumos x86_64","versions":["2.1.0"]},{"repo":"macOS 15 arm64","versions":["2.1.0"]}],"pkgName":"py311-hamcrest-2.1.0","related":null,"repository":"pkgsrc","requiredBy":["wip/py-crossbar"],"requiredByCount":1,"runDepends":["lang/python311"],"status":null,"system":"netbsd","systemLabel":"NetBSD","version":"2.1.0","versions":null,"vulnerabilities":null,"www":"https://github.com/hamcrest/PyHamcrest"}
