~/talk

Simplify Your API Tests: Proven Strategies That Work

Talkat Apidays Paris 2023 · 2023-12-06..12-08· [testing]
slides:none on file

Three common API-test traps: slow suites, painful-to-maintain tests, and flaky failures; concrete fixes include flat, readable tests using AAA or Given-When-Then naming, avoid heavy abstractions, and assert intermediate states in component tests (Vue Test Utils example). For end-to-end tests: reset state, create isolated accounts via API, prefer database transactions, and stop using CSS classes—use data-test attributes instead. Replace fixed waits with dynamic waits (UI changes or network responses) and tools like Cypress and Faker to stabilise and speed up suites.

AI-written summary · about

  1. 0:00Intro
  2. 1:40Testing is a Trap
  3. 5:59Keep it Simple
  4. 8:53Test Names and Structure
  5. 13:45AAA Pattern
  6. 15:53Test Data
  7. 21:55Fixed Waiting Times
  8. 24:53Catching Bugs with Ease
  9. 25:25Thank You for Listening
  10. 25:56End
~/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.