The last post was about the build itself: how our engineers directed AI agents to build a platform this size. This one is about what made that speed safe. From the very start we followed test-driven development, and we made the AI follow it too.
That mattered because of what the app holds. A family recipe is not just data. If the software is careless, something irreplaceable gets lost. The testing had to deserve the trust.
Red, green, every time
Test-driven development shaped the work from day one. Unit tests first, then integration tests, then full UAT flows, each layer building on the one before it.
The same discipline applied to the agents. We built shared skills, create_issue and fix_issues, that forced the AI models to follow a set approach to creating issues and fixing them. The result: red-green tests were always implemented. The failing test first, then the code that turns it green.
Pipelines, not promises
All of this was integrated into our CI/CD pipelines, so the tests ran as part of the build and release process.
Mobile needed its own answer. Automated testing for mobile ran on locally built testing machines, because running AVD loads is very heavy on resources.
AI judging quality
We also put different AI models to work on quality itself: inspecting the quality of the work and defining appropriate testing strategies for each area.
Dev and staging
Releases ran through two environments. A dev environment took the engineers' changes: frequent releases, running most of the tests. A staging environment carried the stable builds for UAT testing: infrequent releases, specific tests.
What the discipline bought us
This is what made the pace of the build possible: red-green tests on every issue, in the pipeline, on real test machines. Fast is only safe when it is checked.
Next in this series: production monitoring. What happens once people are using the app, and how we keep an eye on it.