
"Works on My Machine" Now Includes the Agent's Machine
An agent can validate a change in an environment nobody else can reproduce. I want the handoff to explain the runtime, dependencies and state behind the result.
7 min read

An agent can validate a change in an environment nobody else can reproduce. I want the handoff to explain the runtime, dependencies and state behind the result.

An AI agent can write code and tests that agree on the same mistake. I want the expected result to come from somewhere other than the implementation under test.

Most testing advice is either "100% coverage" zealotry or "tests slow you down" cynicism. Both miss the point. A test is a trade — effort now for confidence later — and the skill is knowing which trades pay off. Here's how I test React without a brittle suite that everyone hates.