Overview
Explore property-based testing in Java through this 49-minute Devoxx conference talk. Learn how to write fewer, more efficient tests that document business rules explicitly and reduce technical debt. Discover techniques for finding domain invariants, guiding design, and implementing property-based tests in everyday scenarios. Gain insights into common misconceptions, fears, and surprises associated with this testing approach. Dive into practical examples, including worst-case scenarios and applications of Demeter's Law, to enhance your testing strategies and improve overall code quality.
Syllabus
Intro
Definition of Properties
Parameterized Testing
Misconceptions
PropertyBased Testing
PropertyBased Testing is a Bet
PropertyBased Testing is for Everyone
How do we do it
Copy and paste
Worst case scenario
Demeters Law
Surprises
Fears
Test compromise
Taught by
Devoxx