Export or edit this event...

Demystifying test.check w/ Justin Holguin

308 SW 2nd Ave Fifth Floor
Portland, OR 97204, US (map)
Public WiFi

5th floor



Clojure's test.check library for generative testing is something that a lot of people talk about, but relatively few actually use. Lots of people, myself included, find that test.check's Haskell origins make it more than a bit alienating at first, and dealing with that unfamiliarity while adopting a new testing paradigm is a lot to ask.

In this short talk, I'll discuss ways of approaching generative testing in Clojure and show how generators are composed of small, simple parts. I'll also demonstrate my own library based on test.check, jen, which makes it even easier to write generators for typical Clojure data types.

Bio: Justin Holguín is a full-time Clojure developer at Puppet Labs who enjoys experimenting with new ways to write, find, and fix bugs.