Skip to content
onsuggest
Log in
Article en

Tests as data: ensuring AI-generated code does what we want

Source: Martin Fowler ·

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

What is Tests as data: ensuring AI-generated code does what we want?

Tests as data: ensuring AI-generated code does what we want is a article discovery curated from Martin Fowler. 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…

How can I access or experience this?

You can experience this content directly on its original host (Martin Fowler) by clicking the "Open Original" button.

Where does this content come from?

Curated from Martin Fowler by the OnSuggest team to surface the most interesting and serendipitous content on the web.

Article · Technology

College student develops LEGO-like, 3D-printed moon bricks

Andrew Paul, writing for Popular Science, covers a University of Arkansas project that makes interlocking bricks out of moon dust alone. Cole McCallum, then an undergraduate, worked with mechanical engineer Wan Shou on the research, published in the journal NPJ Advanced Manufacturing. Lunar regolith doesn’t contain organic matter. It’s loose, sharp-edged particles from billions of […]

Adafruit Blog View Details →
Article · Technology

280 MHz STMicro STM32G5 Cortex-M33 mixed-signal MCU targets digital power and motor control applications

Debashis Das writes on CNX Software about STMicroelectronics’ new STM32G5 series, a family of 280 MHz Arm Cortex-M33 mixed-signal microcontrollers aimed at industrial power supplies, photovoltaic inverters, EV chargers, robotics and motor control. The chips have up to 512KB flash and 112KB of SRAM with ECC, 12-bit ADCs running up to 5 MSPS, position encoder […]

Adafruit Blog View Details →
Article · Technology

SpudCell, the synthetic cell

Fluorescent microscopy of SpudCell – a synthetic cell assembled entirely from non-living chemical components – undergoing division. Credit: Kate Adamala, Adamala Lab via University of Minnesota Twin Cities Associate Professors at University of Minnesota’s College of Biological Sciences, Kate Adamala and Aaron Engelhart have led their teams to develop the world’s first synthetic cell with […]

Adafruit Blog View Details →
Article · Technology

Use the Wii Balance Board as an open source Bluetooth game controller

Jacek Fedoryński has published wii-balance-board-hid-transmitter on GitHub, a Windows app that turns a Wii Balance Board into a gamepad. Leaning left and right or forward and back can drive an analog stick axis or the analog triggers, and can press buttons once the lean passes a set threshold. The board’s own power button can act […]

Adafruit Blog View Details →

Keyboard shortcuts

Previous discovery
←P
Next discovery
→N
Like
L
Not for me
X
Save
S
Show this help
?
Close
Esc

Shortcuts work on the discovery page.