Step 15 of 36 · Engineering practice
Testing and verification as the control
Reading alone cannot assure generated code at volume. Automated verification is the control that keeps up.
Human reading does not scale with the amount of code a machine can write. Automated verification does. For an organisation adopting assistants, the test suite, type checks, static analysis and deployment safety net are the real control. Their weak spots become your weak spots.
So invest there first. Fast, trustworthy tests that a person has reviewed for intent. Checks that run on every change with no bypass. Progressive rollout and quick rollback for what the checks miss. Be wary of tests generated alongside the code they test: they can confirm what the code does instead of what it should do.
A team with poor tests and a slow pipeline should fix those before it expands AI use. Otherwise it adds change it cannot verify.
Try this week
- Ask each team to name the part of their system where a wrong change is least likely to be caught.
- Pick one team with weak tests and make better verification the entry condition for wider AI use.
Signs you've got it
- Teams with the strongest automated checks are the ones you allow the most autonomy with AI.
- Tests are reviewed for what they assert, not only for whether they pass.
Resources
- articleThe Practical Test Pyramid (opens in a new tab)Ham Vocke
- guideCapabilities: Test automation (opens in a new tab)DORA
- articleHarness engineering for coding agent users (opens in a new tab)Birgitta Böckeler
- articleVibe engineering (opens in a new tab)Simon Willison
- articleContinuous Integration (opens in a new tab)Martin Fowler