Property-Based Testing
summary
Introduces property-based testing with concrete results: uses FSCheck (and Fast-check for JS) to run ~100 generated cases, finds real bugs and then shrinking reduces failures to minimal inputs. Shows specific properties like reverse twice equals original, tests randomness by reassembling removed items, verifies sort order pairwise, and checks serializer ↔ deserializer roundtrips. Reports corporate adoption (search found 74 then 129 references), notes tests run ~10–50x slower but still milliseconds, and demonstrates catching issues standard examples miss.
AI-written summary · about
chapters (5)
- 0:00Start
- 1:46Conclusion
- 24:29You have forward and reverse functions
- 28:03Property-based testing in the wild
- 37:23Are there any performance implications?
related talks
47mProperty-Based Testing
30mProperty Based Testing: From Theory to Practice
46mProperty-based testing:You won't look at your tests the same way ever again
36mProperty-Based Testing: Unveiling the Truth on Test Reduction
45mProperty based tests for the masses
58mProperty Based Testing: Concepts and Examples
30mProperty-based Testing for Godly Tests
01h 31mIntroduction to Property-Based Testing
