Introduction to Property Testing in Javascript
summary
Introduces concrete property testing for JavaScript with examples: GenTest as the library, sampling integers and arrays to check determinism and round‑trip serialization, building a non-empty array generator via bind/flatMap, and replacing filters with construction for efficiency. Compares QuickCheck lineage and notes missing features: eager generation, no shrinking, and optional Flow integration for type-driven generators. Claims these choices work for simple cases and sketches where the library fails and how it can be improved.
AI-written summary · about
chapters (12)
- 0:00Intro
- 2:23Haskell QuickCheck
- 3:05GemTest
- 3:22Sampling
- 3:51Testing
- 4:56Building Generators
- 5:34ArrayOf
- 8:00SMath
- 8:46SMap
- 10:19Bind
- 10:45Improvements
- 12:08Outro
related talks
30mProperty Based Testing: From Theory to Practice
30mProperty-based Testing for Godly Tests
36mProperty Based Testing: From Theory to Practice
53mProperty Based Testing, By Example
54mAn Introduction to Property-based Testing
57mProperty Testing in Java
51mProperty-Based Testing
23mProperty based testing is a mindset
