The Magic of Generative Testing: Fast-Check in JavaScript
(Video at https://youtu.be/a2J_FSkxWKo)
Generative testing (aka property testing), popularized by the Haskell library QuickCheck, is a technique of:
- specifying invariant laws your code expects to exhibit
- generating random inputs to verify the laws
- simplifying failures to find error boundaries
- providing replay mechanisms for easy debugging
In this BrooklynJS talk, I show the motivations for and basics of property testing in JavaScript, via the library fast-check.
Gabriel Lebec
June 20, 2019
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.