← All writing
Ai · Testing

Tests alone give you a false sense of safety

More and more of my testing is automated and the number of tests keeps growing. A green test run however only tells you that what somebody thought of still works. What works for me is a mix of unit, integration and end-to-end tests, plus an agent that actually uses the app.

Oct 6, 2026 5 min read Original
Both tests passed.

Since I changed how I work, with one agent building and another one checking, more and more of my testing is automated. The number of tests grows with pretty much every release, which is great. It also makes it really easy to trust a green test run a bit more than you should.

A test only checks what somebody thought of when writing it. So when all of them pass, you know that nothing you anticipated broke. You however never know if the thing actually works for the person using it.

A real example from Franz: every test was green, but when you picked a local AI model in the settings, the assistant simply ignored it. A setting had been renamed and one place still read the old name. It was caught before the release went out. None of the tests were wrong, they just never looked at the app the way a user does. Sure, a test could have caught that one easily, once you know about it. That's pretty much the whole problem.

It works the other way round too, by the way. One night 74 of my tests failed and nothing was wrong with the app at all.

The mix that works for me

There's no single kind of test that catches all of this, so I basically use four of them:

  • Unit tests check if a piece of logic does what it should.
  • Integration tests check if those pieces work together.
  • End-to-end tests click through the real app and check that a journey still works like it did yesterday.
  • Computer use is an agent that uses the app like a person would, and checks if it actually makes sense.

The first three are scripts. They're fast and cheap, so they run all the time, and they're what tells me nothing broke. The last one is different though. The agent looks at the screen, clicks around, reads what's there and notices when something looks off, without anybody having written down what right looks like. That's really a judgment call, and it's the only one of the four where I need a model at all.

There's one more reason I don't trust a green run on its own anymore. A lot of my tests are written by agents now, and when the same agent writes the code and the tests, the tests quite often just confirm what the code does. That's not always what I meant it to do. So the checking in my setup comes from a different company than the building, and the agent that repairs failing tests is never allowed to weaken an assertion just to get green.

Computer use is expensive

An agent at the screen Every step is a screenshot and a thought. That's why it's expensive, and why it finds things like this.

Token wise it burns through quite a lot, as every single step means looking at a screenshot and thinking about it. So I don't run it after every change, and not even after every work package. The packages are small by design, and most of them don't change anything a user could click on yet.

Our latest feature is a good example. The first days were backend and architecture work only, so there was simply nothing on screen to test, and running computer use there would have burnt tokens for nothing. Then the UI came in, backend and frontend finally came together, and that's exactly where it made sense.

It's not really about the UI though, it's more about the blast radius. The question I ask is how much of what a user actually does could break with a change. A small fix deep in the code usually doesn't need an agent at the screen. A change where a lot of parts come together for the first time, or one that touches something people use all day, does. Those are my critical checkpoints, and there it's worth every coin. It found so many issues, in new code but also in existing parts of the app that had been out there for a while. No test had ever looked at those the way a customer does.

What changed

The biggest change though is in how I think about testing. The question used to be mostly whether the code does what it should. Now it's a lot more whether the app does what a user expects, and my testing got a much more user-centric focus.

If you want to try this, keep your test suite exactly as it is and add an agent for the three or four journeys your customers care about most. The tests will still tell you that nothing broke, and the agent tells you if it actually works.

If you'd rather make your own judgment on how well all of this works, you can simply download Franz from meetfranz.com and click through it yourself. And if you happen to change the way you communicate along the way, you're welcome I guess ;)


If you're a founder working out how much of this you can hand over, and where the line should sit, that's the work I do with teams. Let's talk.

Stefan Malzner
Stefan Malzner

Product designer in Vienna · founder of Franz. I write about product, design, and building software that lasts.

Get in touch

Let's talk.

Whether you're shipping a product or planning an event, the fastest way to reach me is email. I read everything that lands.