Blog ·

Testing and releasing the app

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.

Three steps. Red: write the failing test first. Fix: the code that turns the test green. Green: the same test passes. Below, the shared skills that guard it: create_issue and fix_issues force a set approach, and red-green tests were always implemented. The layers: unit tests, integration tests and full UAT flows, each building on the one before it. Concept illustration.
Red-green, every time: a failing test first, then the fix.

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.

Two cards. Dev environment: engineers' changes, frequent releases, most of the tests. Staging environment: stable builds for UAT, infrequent releases, specific tests. Below, the testing setup: tests integrated into CI/CD pipelines, mobile tests on locally built testing machines, AVD loads are heavy on resources. Concept illustration.
Two environments: frequent releases in dev, stable UAT builds in staging.

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.

More from the lab