by keymone · 9y ago · 0 comments
also isn't clojure.spec useful for describing and asserting the shape of data taken and returned by functions?
Also there is not a good answer for asserting the value of a function passed to another function; the return values of functions can be spec'd but they are not included in an assert test.
I agree this is a shortcoming, but that is why this library exists: https://github.com/jeaye/orchestra