The Magic of Generative Testing: Fast-Check in JavaScript
Channel:
Subscribers:
58,000
Published on ● Video Link: https://www.youtube.com/watch?v=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. Slides are posted at
https://speakerdeck.com/glebec/the-magic-of-generative-testing.
----
Fullstack Academy was recently ranked the #1 coding bootcamp in the U.S. Learn more at https://www.fullstackacademy.com.