Testing

Testing strategies from unit tests to production.
23
Nov
cogs and gears

Bots That Use Your Real API: A Reproducible Simulator for a Realtime App

Persona bots as state machines, a seeded RNG, a min-heap scheduler, events that only wake, and no blind retries: how to load-test a multi-user realtime app end to end.
10 min read
16
Nov
black metal ladder leaning on white wall

Testing a Reconnect Ladder: Assert the Climb, Not the End State

A client that gives up at once and one that retries forever both pass an end-state reconnect test. Here's how to test the retries themselves, and why the test went red on a Mac.
6 min read
30
Dec
Street photograph by Stalin Pereira

Implementing Pact to Prevent Breaking API Changes

Preventing frontend breaks when backend APIs change
2 min read
15
Dec
Street photograph by Stalin Pereira

Configuring ESLint Rules to Catch Bugs Before Runtime

Why ESLint/TypeScript catch more bugs than unit tests
1 min read
15
Dec
Street photograph by Stalin Pereira

Catching UI Bugs with Percy Visual Regression

Automating UI checks with Percy or Chromatic
1 min read
14
Dec
Street photograph by Stalin Pereira

Canary Releases: The Safe Way to Test in Production

Using Feature Flags to test safely with real users
1 min read