Speaker Deck

Let's just test that real quick

by Jan Stępień

Published August 29, 2017 in Programming

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. Despite its potential, property-based testing still remains under the radar within the Java community. Let's try to uncover its strengths together.

The talk will discuss how property-based testing compares to traditional testing methods and demonstrate its principles with simple examples. We will also see how it fits into a TDD workflow and a CD pipeline. 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. Finally, we'll wander into the world of concurrency and the automation of race condition detection.

As seen at Berlin Expert Days 2017.