Matcher LibraryΒΆ

Library of Matcher implementations.

  • Object Matchers
    • equal_to
    • has_length
    • has_string
    • has_properties/has_property
    • instance_of
    • none, not_none
    • same_instance
    • calling, raises
  • Number Matchers
    • close_to
    • greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to
  • Text Matchers
    • contains_string
    • ends_with
    • equal_to_ignoring_case
    • equal_to_ignoring_whitespace
    • matches_regexp
    • starts_with
    • string_contains_in_order
  • Logical Matchers
    • all_of
    • any_of
    • anything
    • is_not
  • Sequence Matchers
    • contains_exactly
    • contains_inanyorder
    • has_item, has_items
    • is_in
    • only_contains
    • empty
  • Dictionary Matchers
    • has_entries
    • has_entry
    • has_key
    • has_value
  • Decorator Matchers
    • described_as
    • is_

PyHamcrest

Navigation

  • PyHamcrest Tutorial
  • Writing Custom Matchers
  • Matcher Library
  • Matcher Internals
  • Integration with PyUnit and Other Libraries
  • Core API

Related Topics

  • Documentation overview
    • Previous: Writing Custom Matchers
    • Next: Object Matchers

Quick search

©2020, hamcrest.org. | Powered by Sphinx 4.5.0 & Alabaster 0.7.13 | Page source