Speaker Deck

(EuroClojure) Generative Testing: Properties, State and Beyond

by Jan Stępień

Published June 24, 2015 in Programming

Slides from a talk I delivered on 25.06.2015 at EuroClojure in Barcelona.

The talk will discuss how property-based testing compares to traditional testing methods and demonstrate its principles on simple examples. We will also see how does it fit into a TDD workflow. In order to bust the myth of inapplicability of property-based testing in a real-world setting we'll bring up some use cases from the industry. Afterwards we'll move on from immutable, static properties to a more dynamic setting. We'll see how tools present in the Clojure ecosystem allow us to validate stateful computations through generation of test scenarios. Finally, we'll wander into the world of concurrency and automation of race conditions detection.

Video: https://www.youtube.com/watch?v=D2TCuDXmyw4