~/talk

Speed up writing tests with Wiremock Spring Boot

Talkat Voxxed Days Brussels 2024 · 2024-05-21..05-22· [testing, java]
links:none on file
slides:none on file

Shows how WireMock Spring Boot spins a test server and injects its URL into Spring properties, so unit tests hit a local mock instead of the real API. Builds a JsonPlaceholder to‑do client, provides JsonPlaceholder mappings for GET/POST/PUT, and asserts the GET all returns 200 todos from the mapping, POST assigns an ID (201), and error paths return 500 so exception handling is verified.

AI-written summary · about

  1. 0:00Intro
  2. 1:17Wiremock
  3. 4:00Clients
  4. 12:06Resources
~/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.