Property-based testing: You won’t look at your tests the same way ever again

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.

Date
2017-08-29
Time
18:30 - 20:30
Conference / Event
Lightweight Java User Group München August 2017
Venue
Burda Bootcamp, München

Slides

TAGS

Comments

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