PyHamcrest
  • PyHamcrest Tutorial
    • Introduction
    • My first PyHamcrest test
    • Asserting Exceptions
    • Predefined matchers
    • Syntactic sugar
  • Writing Custom Matchers
  • Matcher Library
    • 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
      • 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_
  • Integration with PyUnit and Other Libraries
    • assert_that
    • match_equality
  • Core API
    • Helpers
      • hasmethod
      • wrap_matcher
    • BaseDescription
    • BaseMatcher
    • Description
    • Matcher
    • SelfDescribing
    • SelfDescribingValue
    • StringDescription
 
PyHamcrest
  • Docs »
  • Matcher Library
  • Edit on GitHub

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
    • 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_
Next Previous

© Copyright 2011, hamcrest.org.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: V1.8.5
Versions
latest
stable
release-1.8
v1.8.5
v1.8.4
v1.8.3
v1.8.2
v1.7
v1.6
v1.5
v1.4
v1.3
v1.2.1
v1.2
v1.1
v1.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.