Test Engineering
test-engineering owns:
What is the smallest faithful proof of this meaningful behavior or invariant?
Use when
Section titled “Use when”- unit vs integration vs E2E boundary is unclear
- a race must be reproduced
- transaction atomicity matters
- retry or idempotency semantics matter
- migration compatibility must be proven
- async delivery or recovery behavior is hard to test
- the suite is flaky, slow, brittle, or unrepresentative
Don’t use when
Section titled “Don’t use when”An obvious unit test or regression test already proves the behavior faithfully. Write it directly.
meaningful risk ↓observable invariant ↓faithful boundary/environment ↓controlled stimulus ↓assertion that proves the invariantTry it
Section titled “Try it”Use $test-engineering to design a race test proving thattwo concurrent bookings cannot both commit.