kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
vikeri 2019-08-14T11:58:23.082100Z

Yeah, I’m using expound:

(defn spec-test
  "Takes a spec and a function call and returns a test"
  [spec f]
  (let [valid? (s/valid? spec f)]
    (is valid?
        (expound/expound-str spec f))))

bbrinck 2019-08-14T12:13:12.084700Z

@vikeri if you have ‘fdef’ specs, you can also use ‘check’ + expound https://github.com/bhb/expound/blob/master/README.md#printing-results-for-check

vikeri 2019-08-14T12:14:29.085200Z

@bbrinck Nice!

avi 2019-08-14T17:26:25.085500Z

Nice, I use expound in my project in almost the same way :sheepy: