BuddingConcept

Writable Tests

planted Jul 14, 2026 · last tended Jul 14, 2026

Tests should be cheap to author relative to the code they test. Beck’s vocabulary, kept with a caveat: most of the field treats writability as emergent rather than a goal you aim at directly. Farley states the mechanism: a test that is hard to write is design feedback; the production code is telling you it has too many dependencies or does too much.

So treat this property as a gauge, not a lever: when authoring cost climbs, fix the design (or reach for builders), don’t lower the testing bar.

Part of Test Desiderata.

Measuring: a trend, not a threshold. Watch time-to-first-test for a new module, and setup lines per test.