~/talk

Symmetric API Testing

Talkat GORUCO 2016 · on Saturday, 2016-06-25· [testing, web-platform]
slides:none on file

Claims a concrete pattern: record live HTTP requests and responses, replay them in tests, and auto-generate native types so client and server share the exact contract. Uses Go examples—anaconda client, a tee reader to record responses, go-json to infer structs and go generate to refresh code. Demonstrates a real failure mode (Twitter changed a string into an array) and shows the recorder/replayer approach reduces test fragility, shortens build loops, and keeps client and server compatible.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Back to 2006
  3. 3:04Writing Symmetric API
  4. 5:30Integration Tests
  5. 8:27Anaconda
  6. 9:43JSON Response
  7. 10:23Response Structure Changes
  8. 12:03Local Server
  9. 16:05JSON
  10. 17:22Ghost Trucks
  11. 17:48Go JSON
  12. 18:45Go Generate
  13. 21:36Using the Interface
  14. 23:31Parse File
  15. 27:32Server Logic
  16. 28:44What to Test
  17. 30:35Other Tools
  18. 31:57Summary
~/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.