~/talk

Scaling Testing at a Startup: Integration Testing GraphQL Services with Jest

Talkat Systems @Scale Fall 2021 · 2021-10-13..10-27· [testing, nodejs]
name:Arun
links:none on file
name:Aliisa
links:none on file
slides:none on file

BigSpring shows how Jest runs integration tests against TypeScript Node.js GraphQL resolvers using the Apollo test server (Zapier integration) and TypeORM talking to Postgres, restoring a production schema and spinning up Postgres and Redis in GitHub Actions. A recurring login-capitalization bug is reproduced and then prevented by tests. CI run time is about 2m13s, tests move coverage from near-zero to measurable percent, using Jest integration tests and a step to restore production schema for realistic validation.

AI-written summary · about

  1. 0:00Introduction
  2. 4:03Product and testing challenges
  3. 7:14Aspirations vs reality
  4. 9:19Impetus to improve
  5. 12:09Sustainable integration tests with Jest
  6. 14:39Scaling tests with GitHub Actions
  7. 17:28Measuring progress and goals
~/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.