ghostwheel

Hassle-free clojure.spec, automatic generative testing, side effect detection, and evaluation tracing for Clojure(-Script) – https://github.com/gnl/ghostwheel
tony.kay 2019-07-25T00:51:01.001100Z

Hey @clojurians.net, is there any way to get the auto-stubbing “on demand” for doing testing of functions that include side-effect calls…like this: https://clojure.org/guides/spec#_testing in the subsection “Combining check and instrument” (last example in that section).

tony.kay 2019-07-25T00:52:09.002200Z

I have a stubbing library already that can easily let me rebind things, but it’d be nice to be able to get a generated function to put in place of the original…I guess I could see how you do it with “empty body” and dupe that

tony.kay 2019-07-25T01:00:18.002500Z

nvm…I see how to do it relatively easily I think