Tests as data: ensuring AI-generated code does what we want
4.40T1 sourcemartinfowler.com (Exploring Gen AI series, incl. Böckeler)
Source record
Published by martinfowler.com (Exploring Gen AI series, incl. Böckeler) (T1 source). The original is at https://martinfowler.com/articles/tests-as-data.html.
Pipeline notes
The summary and note below are generated by the signal pipeline — they are Beyond Desk’s reading, not quotations from the source.
SummaryThe article proposes treating developers as customers of AI-generated code and making human-readable customer acceptance tests, represented as test data, the primary contract protecting intended behavior from agent modifications.
Why it mattersThe interview findings and concrete use of custom DSLs and tabular test data offer a specific engineering pattern for maintaining assurance when agents produce both implementation and tests.

Cited by
No citations on record.