clojure-spec

walterl 2022-09-07T02:58:45.717739Z

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?

Kelvin 2022-09-07T13:20:36.901429Z

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

🎉 1