(is* form)
Assertion macro that works like clojure.test/is but if the result value is non-truthy or asserted expression throws a cuic exception, then expression is re-tried until truthy value is received or timeout exceeds.
Assertion macro that works like clojure.test/is but if the result value is non-truthy or asserted expression throws a cuic exception, then expression is re-tried until truthy value is received or timeout exceeds.
(matches-snapshot? snapshot-id actual)
Tries to match the given actual data to the snapshot associated to the
given id (keyword). If snapshot does not exist, this function creates it.
All data that can be serialized with pr-str
can be tested with snapshot
testing.
HINT: Use fully qualified keyword to distinguish snapshots from different test namespaces. You can also share same snapshots by using same id.
Tries to match the given actual data to the snapshot associated to the given id (keyword). If snapshot does not exist, this function creates it. All data that can be serialized with `pr-str` can be tested with snapshot testing. HINT: Use fully qualified keyword to distinguish snapshots from different test namespaces. You can also share same snapshots by using same id.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close