ASADULELAHBOOK A CALL →

Home / Answers / Software built with AI agents

Software built with AI agents

How do you test software built by AI agents?

By Asadulelah, a Kerala-based builder of custom software and AI systems for businesses.

You test AI-built software the way a stranger will use it: every screen, in a real browser, at real screen sizes, with real data. Then you add the automated tests the AI should have written anyway, a bench of past mistakes, and a security review. The AI writing code is fast. The checking is where the quality comes from, and it's the part I don't let the AI mark as done on its own.

These are the checks I run before anything reaches a client.

1. Automated tests from the plan

Each feature gets tests written against the plan, not against whatever the code happened to do. When parallel agents build different parts on separate branches, each branch must pass its tests before it's merged, and the merged result is tested again together.

The rule I hold the agents to: an AI saying "done" isn't evidence. A passing test, a screenshot or a real output is.

2. Walk every screen in a real browser

Before a link goes to anyone, every route, every pop-up and every onboarding step is walked in a real browser at three sizes: a large desktop, a normal laptop and a phone. An automated layout sweep runs alongside and flags sideways scrolling, text spilling out of cards and buttons covered by other elements.

I added this after a client-facing build went out with only a health check behind it. The first person to use it found layout problems within minutes. The sweep I built afterwards found over a hundred more. Now nobody else is the first user of my work. I am.

3. Test with the browser the client actually has

On one handover call, a page was blank for the client and fine for me. Their ad blocker was hiding elements whose class names started with "ad-". So key pages now render twice, plain and with standard ad-blocker rules switched on, and I compare what disappears.

4. Real data, end to end

Sample data is clean. Real data isn't. I run each feature with a real export from the client's own systems, end to end, the way they'll use it. For anything touching money or accounts, that happens in a test copy first.

5. A bench of past mistakes

Every time I or a client catch a mistake, it becomes a test case. Before I change how my agents work, or ship something high-stakes, the relevant cases run. The guardrail cases (privacy, sending messages without approval, wrong numbers) must all pass, or the change is blocked.

6. A security review before go-live

Every client app gets a security review before it goes live, and again when a change touches logins, permissions, uploads, exports, money or personal data. Each finding must name a real entry point, the boundary it crosses and the actual impact. That stops the review from becoming a list of vague worries.

7. Run it beside the old way

On day one, the new system runs next to the client's existing process, so if anything is off, nothing is lost. The old way retires only when the new one has matched it on real days.

8. Keep testing after the deploy

If a deploy had to go out fast, testing doesn't stop at the deploy. The skipped checks run straight after, and fixes go out through the full check.

What you can ask your builder

AI-built software isn't less testable than hand-written software. It just needs someone who insists on the testing.