Testing a Large GraphQL API With Aplomb
summary
Teachers Pay Teachers runs five Elixir web apps with a main GraphQL API serving about 3,000 requests per second and a test suite of 2,620 tests that run on each deploy; teams deploy ~25 times a day. The setup uses Absinthe, Phoenix test helpers, Bugsnag and Datadog metrics, DogStatsD, Credo and Dialyzer, Selenium for end-to-end checks, feature flags, circuit breakers, and custom helpers like test resolvers and a mock StatsD server to assert emitted metrics and JSON logs.
AI-written summary · about
chapters (6)
- 0:00Introduction and context
- 5:17Testing methodologies
- 13:33Advanced verification tools
- 19:25Instrumentation and error handling
- 32:47Testing for failure modes
- 43:58Conclusion and Q&A
related talks
19mFunctional Testing of GraphQL APIs: Simple Checks That Catch Real Bugs
38mPerformance Testing sucks! How to get started testing RESTful APIs and GraphQL
47mElixir for curing product development pains
38mElixir Adoption at Scale: A Comprehensive Guide
38mBuilding and Testing API Endpoints with Phoenix
47mHolistically built and tested APIs
47mElixir for curing product development pains?
32mTesting GraphQL APIs
