Fork me on GitHub
#clojure-spec
<
2022-09-07
>
walterl02:09:45

From the https://clojure.org/guides/spec: > Note that the :ret and :fn specs are not checked with instrumentation as validating the implementation should occur at testing time. How can one enable :fn and :ret validation during tests, without using stest/check?

Kelvin13:09:36

I use the Orchestra library to instrument :ret (alongside the default :args): https://github.com/jeaye/orchestra

🎉 1