Overview

Namespaces

  • expect
    • config
    • configurator
    • context
    • factory
    • matcher
      • strategy
    • package
    • registry
    • reporter

Classes

  • PatternMatcher
  • ToBe
  • ToBeA
  • ToBeAbove
  • ToBeAn
  • ToBeAnInstanceOf
  • ToBeArray
  • ToBeBelow
  • ToBeBoolean
  • ToBeEmpty
  • ToBeFalse
  • ToBeFalsey
  • ToBeFloat
  • ToBeGreaterThan
  • ToBeInteger
  • ToBeLessThan
  • ToBeNull
  • ToBeString
  • ToBeTrue
  • ToBeTruthy
  • ToBeWithin
  • ToContain
  • ToEndWith
  • ToEqual
  • ToHaveKey
  • ToHaveLength
  • ToMatch
  • ToPrint
  • ToStartWith
  • ToThrow
  • TruthyMatcher

Interfaces

  • ReportableMatcher

Traits

  • EqualMatcherDelegatable
  • GreaterThanMatcherDelegatable
  • LengthMatcherDelegatable
  • LessThanMatcherDelegatable
  • TypeMatcherDelegatable
  • Overview
  • Namespace
  • Class

Namespace expect\matcher

Namespaces summary
expect\matcher\strategy
Classes summary
PatternMatcher Class PatternMatcher.
ToBe Alias of ToEuqal.
ToBeA Alias of ToBeAn.
ToBeAbove Alias of ToBeGreaterThan.
ToBeAn Verify whether the value is of a type that expect.
ToBeAnInstanceOf Verify whether a particular instance.
ToBeArray Verify whether the value is array type.
ToBeBelow Alias of ToBeLessThan.
ToBeBoolean Verify whether the value is boolean type.
ToBeEmpty Verify the length of the value is 0.
ToBeFalse Verify value is false.
ToBeFalsey Verify whether the value is consistent with what is expected, and also reports the results.
ToBeFloat Verify whether the value is float type.
ToBeGreaterThan Verify whether the value is greater than the value of the expected value.
ToBeInteger Verify whether the value is integer type.
ToBeLessThan Verify whether the value is less than the value of the expected value.
ToBeNull Verify whether the value is null.
ToBeString Verify whether the value is string type.
ToBeTrue Verify value is true.
ToBeTruthy Verify whether the value is consistent with what is expected, and also reports the results.
ToBeWithin Verify whether the value is no range.
ToContain Verify whether the value is all included.
ToEndWith Verify the string value is end with the expected string.
ToEqual Verify whether equivalent.
ToHaveKey Verify key exists.
ToHaveLength Verify whether the value has a length that was expected.
ToMatch Verify match the regular expression.
ToPrint Verify the output in the expected value.
ToStartWith Verify the string value is start with the expected string.
ToThrow Verify whether an exception is thrown.
TruthyMatcher Class TruthyMatcher.
Interfaces summary
ReportableMatcher Verify whether the value is consistent with what is expected, and also reports the results.
Traits summary
EqualMatcherDelegatable
GreaterThanMatcherDelegatable
LengthMatcherDelegatable
LessThanMatcherDelegatable
TypeMatcherDelegatable
Expect API documentation generated by ApiGen