~/talk

Deterministic Mocking with GraphQL and Apollo Lunar Launch

Talkat React Boston 2018 · on Sunday, 2018-09-30· [graphql, testing, devops-and-delivery]
slides:none on file

Shows a concrete solution: Apollo Server plus a tiny mocks file gives realistic fake data but couples tests to defaults, so ezCater built Lunar deterministic GraphQL mocks to seed Apollo Server per test. Demo uses Apollo Engine, react-test-renderer, MockProvider and Cypress end-to-end with Apollo Server to drive integration specs. Tests change a mock list from mock list default 5 -> test 2, assert exact names and mutation roundtrips, and demonstrate determinism — the live demo fails then is fixed, proving it works.

AI-written summary · about

  1. 0:00Intro
  2. 1:07GraphQL
  3. 2:58Apollo Server
  4. 5:40GraphQL Playground
  5. 8:50Apollo Engine
  6. 15:40Testing
  7. 23:24Integration Tests
  8. 26:27Demo
  9. 34:38Recap
~/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.