aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-pyhamcrest
Commit message (Collapse)AuthorAgeFilesLines
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Drop python 2.7 support from a few portsAntoine Brodin2020-12-281-1/+1
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=559531
* * Updated to 2.0.2Richard Gallamore2020-04-162-6/+4
| | | | | | | Changes: https://github.com/hamcrest/PyHamcrest/blob/master/CHANGES.txt Notes: svn path=/head/; revision=531810
* Updated to 1.10.1Richard Gallamore2020-01-172-5/+4
| | | | | | | Changes: https://github.com/hamcrest/PyHamcrest/blob/V1.10.1/CHANGES.txt Notes: svn path=/head/; revision=523280
* * Revision bump for distfile changeRichard Gallamore2019-02-142-5/+16
| | | | | | | | | | * Changed MASTER_SITES to GitHub, GitHub includes test suite * Added test target and depends, added for testing newer versions of python PR: 235585 Notes: svn path=/head/; revision=492931
* Use PY_FLAVOR for dependencies.Mathieu Arnold2018-06-201-1/+1
| | | | | | | | | | FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight Notes: svn path=/head/; revision=472884
* PyHamcrest is a framework for writing matcher objects, allowing youRichard Gallamore2018-03-033-0/+45
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. WWW: https://github.com/hamcrest/PyHamcrest Differential Revision: https://reviews.freebsd.org/D13520 Notes: svn path=/head/; revision=463464