The missing piece of testing
summary
Describes using property-based testing with generators and fast-check to state invariants (type, length, element type, monotonic order, idempotence) instead of fixed examples, letting the tool run hundreds of random cases, shrink failures to a minimal counterexample like [10,2], and then add an example test to prevent regression. Reports finding 6 new bugs in react-final-form atom, cites Google finding 17‑ and 33‑step bugs, and shows randomized command sequences reproducing real UI state mismatches.
AI-written summary · about
chapters (9)
- 0:00Intro
- 1:44Examplebased testing
- 4:17The absence of bugs
- 5:55Fuzzy testing
- 7:45Properties
- 11:25Testing
- 12:40Propertybased tests
- 20:00Case studies
- 22:01React Final
related talks
30mProperty Based Testing: From Theory to Practice
23mProperty based testing is a mindset
51mProperty-Based Testing
45mProperty based tests for the masses
20mUnlock The Power Of Property-Based Testing
32mGenerative Testing: Properties, State and Beyond
42mSurprise yourself with Property Based Testing
54mAn Introduction to Property-based Testing
