ghostwheel

Hassle-free clojure.spec, automatic generative testing, side effect detection, and evaluation tracing for Clojure(-Script) ā€“ https://github.com/gnl/ghostwheel
wilkerlucio 2019-06-17T20:03:40.003500Z

hello, I'm trying ghostwheel with Clojure, but I can't figure how to get expound to work, this is my config:

wilkerlucio 2019-06-17T20:03:41.003700Z

{:check       true
 :ignore-fx   true
 :instrument  true
 :outstrument true
 :extrument   true
 :expound     {:show-valid-values? true
               :print-specs?       true}}

wilkerlucio 2019-06-17T20:04:04.004300Z

on cljs it works fine, but no in clj, I tried doing the require for the expound but still didn't had any effect on the error reporting

wilkerlucio 2019-06-17T20:04:18.004600Z

what may I be missing?

bbrinck 2019-06-17T23:16:03.006600Z

Iā€™m not familiar with ghostwheel, but can you try the following:

(set! clojure.spec.alpha/*explain-out* (expound/custom-printer {:show-valid-values? true :print-specs? true}))