Py Hamcrest

GPTKB entity

Statements (31)
Predicate Object
gptkbp:instance_of gptkb:Library
gptkbp:bfsLayer 4
gptkbp:bfsParent gptkb:Hamcrest
gptkbp:community open source
gptkbp:developed_by gptkb:Hamcrest
gptkbp:example assert That(value, contains String('substring'))
assert That(value, has Item('item'))
assert That(value, instance Of(My Class))
assert That(value, is_(equal To(expected)))
assert That(value, is_(not Null Value()))
gptkbp:features custom matchers
fluent interface
readable assertions
gptkbp:first_released 2010-01-01
gptkbp:has_documentation https://pyhamcrest.readthedocs.io
https://www.w3.org/2000/01/rdf-schema#label Py Hamcrest
gptkbp:inspired_by gptkb:Hamcrest
gptkbp:installation pip install Py Hamcrest
gptkbp:is_compatible_with gptkb:pytest
unittest
gptkbp:is_used_for testing
gptkbp:language gptkb:Library
gptkbp:latest_version 2021-05-01
2.0.2
gptkbp:license gptkb:MIT
gptkbp:provides assertions
gptkbp:release_date gptkb:2010
gptkbp:repository https://github.com/hamcrest/ Py Hamcrest
gptkbp:supports matchers
gptkbp:type assertion library
gptkbp:written_in gptkb:Library