testing

  • A test suite that runs on every commit, in ninety seconds

    Four minutes forty is fine and ninety seconds changes behaviour. The threshold below which running the suite stops being a decision.

  • The read model that finally earned its place

    A projection deleted in 2023 for being premature, rebuilt in 2025 because the query is now eleven seconds.

  • A consumer that had to be idempotent and finally was

    A handler documented as idempotent since 2022, which was not, and a redelivery that proved it. A docblock claiming idempotency is a claim and not a mechanism, and…

  • A test double that had drifted from the real thing

    An in-memory repository passing every test, and a real one that had gained a behaviour the fake did not have. A constraint added to the database is a…

  • A year of an assistant in the editor, measured

    A year of using a model-backed assistant, and an attempt to say something specific about it. Every claim about this is a demonstration or a complaint.

  • Testing a migration forwards on a copy of production

    A migration tested against an empty schema, run against nine hundred million rows, and taking four hours instead of four seconds. The restore drill already produced a full…

  • Managing WordPress entirely through Composer

    turkerdev/wp-composer, and an install where nothing is committed except a lock file. Core, themes and plugins as dependencies.

  • A build with no bundler

    A site with 18 KB of JavaScript and a build pipeline sized for something larger. What a bundler provides, listed, and which of it is needed.

  • An assertion on a query count that finally broke

    A test asserting fewer than ten queries, written in 2023, failing in July because a legitimate feature added an eleventh. A bound that fails on a legitimate change…

  • A compatibility suite retired after a year

    A monthly job comparing two servers, kept for thirteen months to preserve an option, and switched off once the option stopped mattering. The tests were the valuable artefact…