~/talk

Sophisticated Schema Mocking

Talkat GraphQLConf 2023 · on Thursday, 2023-09-21· at 11:30· Grand Peninsula F&G· [graphql, testing]
links:none on file
slides:none on file

Coinbase adds network middleware to its in-house data layer so Relay requests hit an intercepting mock server instead of the network, using graphql-tools/mock and executeGraphQL to return schema-accurate, type-correct responses. This removes brittle per-test fixtures from Nock/MSW/Apollo approaches, lets tests run with no explicit mocks, supports field-level overrides and post-fetch mutation of real responses, and powers a live Storybook sandbox plus auto-generated unit tests — the system ships and meaningfully reduces test flakiness and manual setup time.

AI-written summary · about

  1. 0:00Introduction
  2. 0:38Presentation Overview
  3. 4:10Mocking in Tests
  4. 7:29Mocking Tools
  5. 11:00Recap
  6. 18:04Manual Testing
  7. 19:36Other Uses
  8. 22:30Benefits
  9. 23:15Questions
~/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.