~/talk

NodeJS: Supercharge Your Integration Tests with Vitest, Testcontainers and PGlite

TalkinFrenchat Devoxx France 2026 · 2026-04-22..04-24· [nodejs, testing]
slides:none on file

Shows how to speed up and harden Node.js integration tests using Testcontainers (TypeScript API for managing Docker environments), PGlite (a tiny, WebAssembly-compiled Postgres), and Vitest (including its test isolation and new fixture/infrastructure management features). Presents concrete techniques to cut CI run times and make integration tests more reliable.

AI-written summary · about

  1. 0:00Integration tests intro
  2. 3:10Integration tests focus
  3. 4:36Testcontainers for Node.js
  4. 7:03Custom Testcontainers plugin
  5. 9:33Demo: Vitest + GRPC mock
  6. 11:39Vitest global setup
  7. 14:30PGlite: lightweight PostgreSQL
  8. 16:13Testcontainers vs PGlite
  9. 18:43Vitest performance
  10. 21:11Simplify tests with fixtures
  11. 22:34Advanced Vitest fixtures
  12. 27:56Best practices
  13. 28:39Measure test performance
  14. 29:42Q&A
~/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.