~/talk

Node Adventures: Fast Testing, Smooth APIs and Seamless Client Generation

Talkat HalfStack London Shoreditch 2023 · on Wednesday, 2023-11-15· [nodejs, developer-experience]
links:none on file
slides:none on file

Benchmarks show Node’s built-in test runner executes 10,000 simple tests in about 80 seconds versus ~900 seconds with Jest, and a migration of a real repo yields roughly 5x speedups; Jest also overrides Node globals breaking fetch mocks while the Node runner does not. Fastify provides schema validation and uses light my request inject to test routes without starting servers. Platformatic client generates fully typed clients from OpenAPI and runs in production to detect breaking changes, reducing CI time and flaky merges.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:48Pyramid of pain in testing
  3. 2:31Performance comparison of test runners
  4. 5:21Global override issues in Jest
  5. 7:10Dependencies and Node.js core
  6. 8:15Fastify’s developer experience benefits
  7. 9:18Testing without active servers
  8. 11:05API documentation and client generation
  9. 12:54Platformatic client integration
  10. 14:40Benefits for large codebases
  11. 16:05Starting with existing codebases
  12. 17:31Q&A and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.