(a type)Returns a matcher that expects an instance of the provided type.
Returns a matcher that expects an instance of the provided type.
(and> & matchers)Returns a matcher that expects a value matching all provided matchers.
Returns a matcher that expects a value matching all provided matchers.
(any)Returns a matcher that expects any value.
Returns a matcher that expects any value.
(at-least value)Returns a matcher that expects a value greater than or equal to the argument.
Returns a matcher that expects a value greater than or equal to the argument.
(at-most value)Returns a matcher that expects a value less than or equal to the argument.
Returns a matcher that expects a value less than or equal to the argument.
(between lower-bound upper-bound)Returns a matcher that expects a value between lower-bound and upper-bound, inclusive.
Returns a matcher that expects a value between lower-bound and upper-bound, inclusive.
(contains-all values)Returns a matcher that expects a collection containing all the provided values.
Returns a matcher that expects a collection containing all the provided values.
(contains-any values)Returns a matcher that expects a collection containing at least one of the provided values.
Returns a matcher that expects a collection containing at least one of the provided values.
(description matcher)Describes a matcher by returning it's name and expectations.
Describes a matcher by returning it's name and expectations.
(empty)Returns a matcher that expects an empty value.
Returns a matcher that expects an empty value.
(ends-with suffix)Returns a matcher that expects a string ending with the provided suffix.
Returns a matcher that expects a string ending with the provided suffix.
(exactly value)Returns a matcher that expects an exact value.
Returns a matcher that expects an exact value.
(falsy)Returns a matcher that expects a falsy value.
Returns a matcher that expects a falsy value.
(includes substring)Returns a matcher that expects a string containing the provided substring.
Returns a matcher that expects a string containing the provided substring.
(make name match-fn expected)(make name match-fn expected args-desc-fn)Produces a new matcher instance.
Produces a new matcher instance.
(matches? matcher actual)Returns whether the matcher accepts the actual value.
Returns whether the matcher accepts the actual value.
(not> matcher)Returns a matcher that expects a value not matching the provided matcher.
Returns a matcher that expects a value not matching the provided matcher.
(or> & matchers)Returns a matcher that expects a value matching any of the provided matchers.
Returns a matcher that expects a value matching any of the provided matchers.
(pred pred-fn)Returns a matcher that expects a value satisfying the provided predicate.
Returns a matcher that expects a value satisfying the provided predicate.
(regex regex)Returns a matcher that expects a string matching the provided regular expression.
Returns a matcher that expects a string matching the provided regular expression.
(starts-with prefix)Returns a matcher that expects a string starting with the provided prefix.
Returns a matcher that expects a string starting with the provided prefix.
(truthy)Returns a matcher that expects a truthy value.
Returns a matcher that expects a truthy value.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |