ghostwheel

Hassle-free clojure.spec, automatic generative testing, side effect detection, and evaluation tracing for Clojure(-Script) – https://github.com/gnl/ghostwheel
genekim 2018-12-04T03:46:41.018700Z

@clojurians.net Wow, I'm reviewing the new README for ghostwheel — congrats on so many fronts! I'll be giving it a try in the next couple of days, all in Clojure! Thanks for all your awesome work!

gnl 2018-12-04T10:42:43.018900Z

Thanks man, hope it's useful, let me know if you run into any problems. Lots of new stuff, might need some more polish.

genekim 2018-12-04T17:09:56.019100Z

PS: I did my first generative test ever last night using test.check. Actually found an error in my function that calls statistical function in Incanter! (Found condition where I wasn’t correctly catching vectors with length less than 2.) Cool. Can’t wait to try automatically generating these with Ghostwheel.

gnl 2018-12-05T00:18:54.019300Z

Yup, it's pretty great at helping catch all the pesky edge cases. Make sure to check out the ::g/extensive-tests and ::g/num-tests-ext options to distinguish between how many tests you run during a quick (g/check) in the REPL/on hot-reload and during testing.

gnl 2018-12-05T00:19:35.019500Z

During testing it should preferably be a lot, but even a smaller number during quick-checking can catch a lot of the basic stuff.