~/talk

Introduction to Property Testing in Javascript

Talkat LambdaConf 2017 · 2017-05-25..05-27· [javascript, testing]
slides:none on file

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

  1. 0:00Intro
  2. 2:23Haskell QuickCheck
  3. 3:05GemTest
  4. 3:22Sampling
  5. 3:51Testing
  6. 4:56Building Generators
  7. 5:34ArrayOf
  8. 8:00SMath
  9. 8:46SMap
  10. 10:19Bind
  11. 10:45Improvements
  12. 12:08Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.