César Alberca

How to Test in the AI Era

2026-08-19T15:00:00.000Z

I love testing. So much, in fact, that this issue outgrew the email format.

I've written a full guide on how to test effectively, distilled from more than a decade of experience: which types of tests exist and when to reach for each one, what to actually test, the AAA pattern, TDD, and why all of this matters more than ever now that agents write a big part of our code.

Read Testing in the AI Era

To give you a taste, this is the idea the whole post orbits around:

Testing is easy, the challenging part is having testable code

If that sentence stings a little, the post is for you.

How are you testing with agents? Feel free to reply, I read every email.

P.S: I've distilled the whole post into a Claude Code skill that my agents load every time they write tests. Grab it from the post.

Views0123456789