Sheet 04 of 08Tests that block the merge
Back to plate 04

Making the standard enforceable

One TypeScript codebase at Aepsy ships as web, iOS and Android. The testing effort is the team's; my part was making its standard enforceable: lint rules and conventions that hold for AI-written tests too, one fixed test environment, and the steps that made a required check safe to turn on. The same release constraint shaped the other thread: two-factor auth shipped on web, iOS and Android behind one TypeScript interface, via a Swift and Java plugin.

Period
May 2026 - Present
Role
Set the team's test standardsAepsy
Stack
Vitest, JUnit, pytest
Proof

Merge gate

Fig. 1
Fig. 1A change runs the suite, then the required check; only a passing change merges, because tests are required to merge.

Facts

01 to 06
  1. One TypeScript codebase ships as web, iOS and Android apps.

    From my CV, Aepsy

  2. Set the team's test standards, with lint rules and conventions that hold for AI-written tests too.

    From my CV, Aepsy

  3. Tests are required to merge.

    From my earlier site, Aepsy

  4. The suite went from a few dozen files to hundreds in the months after the standard landed, written by the whole team against one set of templates, fixtures and banned patterns.

    From my earlier site's case study, Aepsy

  5. The client tests run on Vitest, the backend tier on JUnit, a Python tier on pytest.

    From my earlier site's case study, Aepsy

  6. Two-factor auth shipped on web, iOS and Android behind one TypeScript interface, via a Swift and Java plugin.

    From my CV, Aepsy

Fig. 2The test standard: one set of templates, fixtures and banned patterns, lint rules and conventions that hold for AI-written tests too, and one fixed test environment, read by the Vitest, JUnit and pytest tiers; tests are required to merge.

Why it is hard

A convention that lives in prose dies under deadline and under AI tooling; the standard only holds if the repository itself reads it.