~/talk

No More Mocking! Write Better Tests For Your Nuxt Application With Contract Tests

Talkat Vue.js Live 2024 · 2024-04-25..04-26· [vue, microservices]
slides:none on file

Claims that replacing flaky mocks with an API‑first stubbed backend yields reliable end‑to‑end tests for Nuxt/Next applications. Uses an OpenAPI spec to drive a Specmatic stop server that returns realistic payloads and runs UI flows with Playwright, so tests exercise client code, server API routes (BFF), and mapping logic while isolating microservices. Demonstrated on a shopping‑list app where adding items through the Next API route succeeds against the stubbed service, enabling fast, deterministic regression tests.

AI-written summary · about

  1. 0:00Write Better Tests For Your Nuxt Application With Contract Tests
  2. 3:51The Monolith
  3. 5:31SPAs
  4. 6:49Nuxt & Microservices
  5. 12:58Contract Testing
  6. 20:39Q&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.