Writing test code almost took the fun out of engineering for me. Now my agents write all of it, and I get straight to the part I love: seeing what I built work.
At BNY Mellon, if you , you had to wear the shirt of shame. It had the butler on it and said "Build Failed. No Costume Available." Every day, someone was wearing it. Funny thing: I designed that shirt. It started as a Halloween joke. Our motto was that no Jenkins job could fail, so I made a shirt that said I couldn't dress up because my Jenkins job had failed.

On my first team there, from 2015 to 2017, the goal was to make sure every test passed. A giant TV on the wall showed our Jenkins board. A ran all of the tests on a schedule. We had no pull request reviews, so nobody looked at my code before it went in. If my unit tests passed, I could merge straight to , because supposedly we had followed . Then all of the other tests ran on master. That's where builds broke. For the lead engineers guiding us, that board was the joy of the job. If it was all green, we were happy. Keeping it green took thousands of lines of test code, written a few hundred at a time. I never enjoyed writing them.

Today, my agents write all of that test code. In fact, I don't write any code by hand anymore, but I'm having more fun than I've had in years. People sometimes ask me whether AI took the joy out of coding. For me, it did the opposite. The reason has a lot to do with testing.
I started my career as a front-end developer and became a full-stack developer over the years. Owning the whole stack made me enjoy my job more than anything else because I could build something and then check for myself that each piece worked.
The first thing I worked on at BNY Mellon was a tool for checking our system. Transactions came in by fax. People typed everything from each fax into another system by hand. To start automating that, my team scanned each fax, used OCR to pull out the text, which was mostly numbers, and showed the result side by side with the scanned image. The user could confirm that each field was captured correctly, or fix it and submit it. A capture could be wrong for many reasons, starting with the quality of the scan.
I built the . We could write all kinds of tests for it, but seeing it firsthand was better for me. I could look at the screen and see whether each captured field lined up with where it was on the image. That check, more than the code itself, was the best part of the job.
The real challenge was testing the OCR itself because it depended on the quality of each fax. Every fax was different, even when it followed the same template. Back then, everything was written by hand, so the first test or log line showing that it finally worked was the best feeling in the world.
As I built applications for bigger audiences over the years, I was responsible for making sure they worked 100%. So I added more tests and ran . I still tested by hand on top of that.
I don't know about you, but I was not a big fan of writing tests. I wrote them anyway: , , , , and . Early in my career, I was brainwashed into doing test-driven development religiously. It was fun at first, but it got hard to stick to. Passing tests never meant the code was bug-free either. That's why checking each piece myself, from the frontend to the backend, was what I actually enjoyed.
End-to-end tests were supposed to do that check for me, running a whole flow from start to finish the way a user would. I hated them because they were a maintenance nightmare. A test would pass for a couple of days and then break either because it was or because a upstream or downstream had changed. Mutation tests were tough because we had to think of every single , which is kind of impossible if you ask me.
If you've never worked this way, every one of these testing methods takes real programming: , done right, , , and the right . Getting the tests right took hundreds of lines of code, so when they finally passed, it felt really good. But we wrote those tests by hand too. If our production code had bugs, so could our tests. A buggy test can pass on code that's actually broken.
I spent more time writing test code than building the product. Because of testing, even something simple, like a dashboard or a new with a few more fields, was estimated at six or seven months at least. My second team at BNY Mellon built My Tasks, an inbox portal where employees across the whole company managed their tasks, with notifications and assignments. That's where I first worked full stack. It was just a application, but with all of the processes and code we had to write, it took forever. I started to hate it because with deploys that slow, I couldn't see the value in what I was building.
Don't get me wrong: testing is absolutely necessary. Writing all of that test code just wasn't the fun part.
AI changed that. I haven't dropped the tests. If anything, I've gone back to all five testing methods I used when I started. They're part of the harness I run today. The harness is the set of rules, tests, and tools my agents have to follow to keep my code .
I don't just hand an agent a simple prompt and ask it to test a feature for me. I've spent more than a year engineering a harness in each repo I work in, and I keep improving it every day. It's how I make sure my AI agents get it right. I'll share how I measure that in another post. Instead of writing code for , I run agents that do it on the spot. have become a strong ally in catching bugs.
My agents also test how a system holds up under pressure. They load test it with heavy traffic and simulate real-world problems, like abuse on our and that don't get flushed when they should. One I've run into is connection pool exhaustion: under heavy load, a service runs out of database connections, and requests start timing out. That kind of bug almost never shows up in a unit test.
What I care about now is the engineering of a feature: the design and the design patterns. Anything that needs CRUD on a system used to take months. Today, it takes a week at most to be production-ready. I'm pretty confident I could rebuild My Tasks in two or three weeks, just me and my agents. It's all still engineering.
In September, David Heinemeier Hansson, the creator of , announced that his company, 37signals, had gone "pencils down." As he put it, "Writing code by hand is no longer an economically viable skill for most programmers at most companies."
I kind of agree with him, and I don't mind, because to me AI is just another layer of . Programming has been adding layers since it began. The first programmers wrote the machine's own instructions by hand. In the 1950s, high-level languages like let them write something closer to math and English, which a compiler turned into those instructions. Libraries meant we stopped rewriting the same code. Objects bundled data with the code that uses it, design patterns gave names to solutions we kept rebuilding, and let us pass small pieces of behavior around like values. Each layer hid more of the details so we could say more with less code. AI is the next layer. Instead of writing the code, I describe what I want and judge what comes back.
Fred Brooks, who led some of IBM's biggest software projects in the 1960s, explained why abstraction doesn't end engineering. In his 1986 essay "No Silver Bullet," he said software work comes in two kinds. The essential part is deciding what to build and how it should work. The accidental part is everything it takes to write that down as code. Every new layer, from Fortran on, shrank the accidental part, but none of them could do the essential part for you. AI took over most of the accidental work for me, including those thousands of lines of test code. The essential part, the design, the engineering, is still mine.
Getting the harness to this point has been joyful too. The clearest proof is an internal version of Lovable that I built at Disney Streaming. Like Lovable, it turns a plain-language description into a working app. I'm sure it took Lovable years to build it, but it took me two weeks.
My first request was a command center: one page that shows what's in progress, what's on track, and what's blocked. I wanted something I could share across leadership and that non-technical people could keep improving by talking to the AI in plain English. Then I asked it for a mockup of another app I was working on. It picked up the I gave it, so I showed it to our design team. They started using it too. That was the wow moment.
Everything just worked. Only three bugs made it through: two with and one bad . That's the harness doing its job. Everyone was impressed. For me, it was proof that my team and I can do great things with AI, things people actually use, not the we keep hearing about.
Looking back, keeping that board green was the lead engineers' joy more than mine. Mine was always the moment I saw that something I built actually worked. At BNY Mellon, even a simple feature took months to get me there. My version of Lovable got me there in two weeks.
The joy of coding didn't go anywhere. It just stopped making me wait.