The Magic of Generative Testing: Fast-Check in JavaScript
Vložit
- čas přidán 27. 08. 2024
- 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
speakerdeck.co....
----
Fullstack Academy was recently ranked the #1 coding bootcamp in the U.S. Learn more at www.fullstacka....
Great talk
In which I say "encapsulates" roughly 10^6 times, for some reason.