The Magic of Generative Testing: Fast-Check in JavaScript

Sdílet
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....

Komentáře • 2

  • @alenc.2645
    @alenc.2645 Před 4 lety +2

    Great talk

  • @glebec
    @glebec Před 5 lety +2

    In which I say "encapsulates" roughly 10^6 times, for some reason.