Fork me on GitHub
#kaocha
<
2019-08-12
>
vikeri12:08:10

Are there any fancy plugins for testing if a data structure adheres to a clojure.spec?

vikeri12:08:29

I can do a s/valid? but it’s not very informative

avi16:08:55

No plugins needed.

avi16:08:03

e.g. you could use s/explain-str as the “message” for when an assertion using s/valid? fails — I do this in my project