clojure-spec

Drew Verlee 2023-12-08T03:13:34.319459Z

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?

2023-12-16T03:32:32.919469Z

Maybe abbrev-result

👀 1
Drew Verlee 2023-12-18T04:02:22.113549Z

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