Fork me on GitHub
#clojure-spec
<
2023-12-08
>
Drew Verlee03:12:34

How do i get the failing input for a test generated via stest? I feel like it's under the :failure inside an exception.

(-> (stest/check `remove-middlemen)
    first
    :failure
    type)
;; => #<Class@6e8cf4c6 java.lang.NullPointerException>
Or is there a better way?

hiredman03:12:32

Maybe abbrev-result

👀 1
Drew Verlee04:12:22

yep calling abbrev result and drilling into the results got me the info i wanted. thanks.