← Retour au blog
tech 8 September 2026

How Well Do Agents Master Test and Verification Techniques?

Coding agents are more accessible than ever, yet software quality seems stagnant. Let's dive into the effectiveness of test and verification techniques.

Article inspired by the original source
How well do agents use test/verification techniques? ↗ danluu.com

Introduction

In today's tech landscape, automated coding agents promise increased efficiency and improved software quality. However, despite these promises, the reality seems more nuanced. Software quality continues to be an issue, even with agents using renowned testing and verification techniques. So, how well do these agents actually handle these techniques?

Test-Driven Development: A Risky Bet?

Test-Driven Development (TDD) is often touted as a revolutionary method for ensuring software quality. Yet, according to [a recent study](https://danluu.com/agentic-testing/), there is skepticism about the effectiveness of agents when following TDD directives. With a 55% confidence, the study predicts that TDD might underperform when executed by agents, hinting at a possible disconnect between development theories and agent capabilities.

Formal Methods: A Glimmer of Hope?

Formal methods, such as using SMT solvers like Z3, have long been considered powerful tools for ensuring system accuracy and safety. However, the mentioned study also predicts that these methods will not necessarily outperform other testing techniques. With only 52% confidence, this prediction highlights the uncertainty about agents' ability to fully exploit formal methods.

Property-Based Testing: The Viable Alternative

Among the various techniques, property-based testing, such as those performed with QuickCheck, seems to offer a promising alternative. These tests allow for automatically generating test cases based on defined properties, thus increasing test coverage and more effectively identifying hidden errors. Agents programmed to use these techniques have shown promising results in various scenarios.

Use Case: Zstd Implementation

Consider the example of implementing Zstd in Rust. Agents were tested with 26 different conditions, ranging from default use with no additional instructions to advanced techniques like differential testing and formal methods. The results showed that agents guided by specific instructions on testing techniques produced correct implementations, although some techniques did not always yield the expected results.

Conclusion: What Is the Future for Testing Agents?

It is clear that automated coding agents offer tremendous potential for improving software quality. However, their effectiveness heavily depends on the testing and verification techniques they employ. Tech decision-makers must therefore be cautious and well-informed when integrating these agents into their development processes. Let's discuss your project in 15 minutes to explore how to optimize the use of agents in your operations.

Call to Action

Let's discuss your project in 15 minutes.

Automated Testing Coding Agents Test-Driven Development Property-Based Testing Formal Methods
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call