Automated testing in the age of AI coding assistants is problematic: when AI agents write both production and test code, developers risk losing the assurance that automated tests protect against functional errors. Matteo Vaccari makes three claims: (1) when AI writes the code, developers become its customers; (2) therefore customer tests, not developer tests, become the primary contract between humans and AI; (3) moving that contract into test data rather than test code makes it easier to protect it from unexpected modifications by coding agents. All of this optimizes for human-readable tests that establish a contract between humans and AI. While in the past DSL parsers and custom test runners were expensive to write and maintain, now AI makes them cheap.
AI & ML
Source:https://martinfowler.com/articles/tests-as-data.html
Tests as data: ensuring AI-generated code does what we want
Martin Fowler0 views
PreviousKI im IP-Management: Warum die Benutzeroberfläche weiterhin wichtig istNextGoogle Summer of Code 2026 results
Related posts

HomeKit Weekly: SwitchBot’s Curtain Track 4 is the easiest smart curtain retrofit yet
09to5Mac

Dbrand’s new Fitbit Air band launches as the first official third-party strap
09to5Google

Motorola MA2 wireless Android Auto adapter is now available, but at nearly twice the price
09to5Google
Airdrop Scams, Decoded — Dusting, Drainer Links and Fake Claims
0dev.to

Choosing QuePaxa, an unusual consensus algorithm
0Cloudflare Blog
China’s Nvidia Honeypot Isn’t Surprising. Jensen Huang Fell for It Anyway
0Wired
