~/talk

Great Expectations – Understanding nodejs Testing Frameworks

Talkat NodeTLV 2023 · on Wednesday, 2023-06-28· [testing, nodejs]
slides:none on file

Compares concrete implementations: Mocha stays a minimal test runner vs full-stack framework while Jest bundles running, mocking, assertions and snapshot matching; Vitest copies Jest API; Playwright adds declarative fixtures and a test runner on top of browser automation; node:test ships as a built-in runner. Explains collection strategies (static analysis vs immediate load), parallelism choices, sharding and concurrent per-file runs, and coverage tradeoffs between V8 coverage vs Istanbul/NYC. Shows ordering heuristics that cut a sample suite from 5 to 3 units of time.

AI-written summary · about

  1. 0:00Start
  2. 9:37Test Style
  3. 9:54BDD Style
  4. 10:41Fixtures
  5. 14:06Related Tests
  6. 18:04Sharding
  7. 19:04Concurrent
  8. 23:25Advanced Mocking
  9. 25:26Timers Mock
~/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.