~/talk

Joyful Pyodide with...tests?

Talkat Python Web Conf 2023 · 2023-03-13..03-17· [web-platform, testing]
slides:none on file

Shows that you can run Python-in-the-browser code without opening Chrome by running tests in Node.js using Vite and Vitest, Playwright for E2E, and happy-dom for a headless DOM. Demonstrates a Vite plugin that copies Pyodide WASM into bundles, and a trick to reuse the same Pyodide interpreter between tests to avoid slow spinups. Result: unit and integration tests run in watch mode near-instant (often under a second), with failures debuggable in the IDE.

AI-written summary · about

  1. 0:00Introduction and demo
  2. 3:53Why this matters
  3. 11:03Challenges in current workflow
  4. 14:14Modern tooling setup
  5. 21:42Joyful Python development
  6. 27:48Testing strategies
  7. 32:18Larger application demo
  8. 35:42Practical considerations
  9. 38:53Call to action
~/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.