It helps to define a helper function, something like:
(defn speccheck [fn-to-check options]
(let [results (t/check [fn-to-check] options)]
(if (some :failure results)
(do
(println "\nFailed specs:")
(doseq [result results
:when (:failure result)]
(println (:sym result))
(pprint (or (ex-data (:failure result))
(:failure result)))))
true)))
(deftest my-fun-test
(is (speccheck `this/is-my-fn {}))) ; pass options to t/check as needed
This helps in the failure case because you want the failures printed.