spy.assert
Assertion functions wrapping spy.core functions,
providing assertions using clojure.test/is and messages
to aid debugging when test expectations are not met.
Macros are used to ensure the clojure.test/is macro
appears in the calling code, otherwise line numbers
reported on failure will show as failures in the
library and not the calling code.
called-at-least-n-times?
macro
(called-at-least-n-times? f n)
called-at-least-once?
macro
(called-at-least-once? f)
called-n-times?
macro
(called-n-times? f n)
called-no-more-than-n-times?
macro
(called-no-more-than-n-times? f n)
called-no-more-than-once?
macro
(called-no-more-than-once? f)
called-once-with?
macro
(called-once-with? f & args)
called-once?
macro
(called-once? f)
called-with?
macro
(called-with? f & args)
not-called-with?
macro
(not-called-with? f & args)
not-called?
macro
(not-called? f)