Property Based Testing: From Theory to Practice
summary
An introduction to property-based testing, explaining the approach that originated with QuickCheck and how it finds bugs with few lines of code without enumerating all edge cases. The talk shows practical examples in JavaScript (using the fast-check framework) ranging from simple algorithms to GUI tests, and notes the examples can be adapted to other languages.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 4:40Traditional testing limits
- 7:07Property Based Testing
- 11:00Example with fast-check
- 14:07Testing indexOf algorithm
- 18:51Reducing error cases
- 22:18Testing popular libraries
- 28:22End-to-end testing
- 29:25Resources and conclusion
- 29:46Q&A
related talks
30mProperty Based Testing: From Theory to Practice
51mProperty Testing: Write Fewer Tests, Find More Bugs
23mFrom test to proof: introduction to Property Based Testing
51mProperty-Based Testing
45mProperty based tests for the masses
46mProperty-based testing:You won't look at your tests the same way ever again
01h 31mIntroduction to Property-Based Testing
30mProperty-based Testing for Godly Tests
