Property-based testing hands-on in Clojure

Property-based testing changes the way you look at your test suites. Instead of specifying test cases one after another, this advanced testing technique enables you to use logic to automatically generate a stream of inputs. The ecosystem of Clojure libraries offers us excellent tools to introduce property-based testing into our projects. Let’s try to uncover their strengths together in this hands-on session.

We will discuss how property-based testing compares to traditional testing methods and understand its principles based on simple examples. In order to bust the myth of the inapplicability of property-based testing in a real-world setting we’ll bring up some use cases from industry. We’ll formulate properties allowing us to test more complex, stateful systems. Finally, we’ll wander into the world of concurrency and the automation of race condition detection.

Date
2018-04-18
Time
18:00 - 21:00
Conference / Event
Clojure Düsseldorf April 2018
Venue
Universität Düsseldorf, 25.12.02.55, Düsseldorf

TAGS

Comments

Please accept our cookie agreement to see full comments functionality. Read more