All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- New assertions
called-once-with-args?
andcalled-at-least-once-with-args?
.
- Support for ClojureScript. Please pin to 0.4.0 if you need it.
bond.james/calls
throws an exception if the function hasn't been spied or stubbed.- Tests against Clojure 1.10 (bumped from 1.7).
- New assertions
called?
,called-times?
, andcalled-with-args?
.
bond.james/stub!
andbond.james/with-stub!
throw with an explanation when:argslist
is missing.
- Improved support for stubbing private functions.
- Removed runtime dependencies on Clojure and ClojureScript.
bond.james/with-stub!
which throws an exception when there's an arity mismatch.