---
title: "Discussion on \"The Test That Survives Its Own Implementation\" | Hashnode"
description: "Discussion on \"The Test That Survives Its Own Implementation\". When you ask an AI agent to add tests, it writes tests that pass on the first run. That's the problem. The sanity check is cheaper than you think: delete the implementation and see which tests still go green."
url: "https://hashnode.com/posts/test-that-survives-its-own-implementation/6acd09c09a62a8801583d20a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Test That Survives Its Own Implementation](https://blogs.powerduck.com/test-that-survives-its-own-implementation?utm_source=hashnode&utm_medium=feed)

When you ask an AI agent to add tests, it writes tests that pass on the first run. That's the problem. The sanity check is cheaper than you think: delete the implementation and see which tests still go green.

Oct 12 · 4 min read · blogs.powerduck.com  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#coding](https://hashnode.com/tag/coding)
-   [#testing](https://hashnode.com/tag/testing)
-   [#agents](https://hashnode.com/tag/agents)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
