Learn how our QA team used AI to cut out the manual work of closing coverage gaps, while keeping a person in control of every merge and every test run.
Our platform runs on almost 1,000 APIs that power every aspect of the platform. Every feature our customers use depends on them. When a developer adds a new one, it goes through code review to confirm it works, then ships in the next release.
From there, it needs to join a larger safety net. Our QA team runs a suite of automated tests on a schedule, some around the clock and some daily or weekly, to confirm that everything on the platform still works after each release. Adding each new API to that suite is a standard step in our release cycle: the QA team writes a test for it, reviews it, and puts it on the schedule. Until then, the API has passed review but isn’t yet being rechecked automatically along with everything else. QA teams call that stretch a “coverage gap,” and keeping it as short as possible is one of the biggest challenges a QA team faces.
Keeping it short used to take careful manual work. Now AI handles what used to be the slow parts of the process, and a QA engineer still makes every decision. This post walks one new API through each step of closing its gap, showing where AI does the work and where a person makes the call.
How we closed gaps before our new AI solution
Our platform has more surface area, and is adding clients faster, than even a growing QA team could test by hand, and any release can touch any part of it. On a given day, we’re responsible for APIs across every product area, from projects and DataApps to FastAPI servers, schedulers, connectors, and AI features. There’s also the command-line tool (CLI) that customers and engineers use to build and deploy apps, plus the solutions we’ve built for enterprise customers, each with its own daily tests that run through the customer’s full workflow from start to finish. All of it runs in several environments at once, from pre-release testing through production.
Automated testing was already central to how we worked. The hard part was keeping track of which APIs the tests covered. Test results lived in several places: our build system, separate code repositories, Slack channels, and a coverage spreadsheet a team member kept current by hand. Finding a gap meant someone checking those sources against the latest code. Closing it meant an engineer writing the test line by line.
The team kept that process running manually. However, the platform was growing faster than any small team could track by hand, and new APIs were waiting longer for their tests than we wanted.
Our new AI-powered process
Here’s how our transformed process works, stage by stage.

Stage 1: The gap appears on its own
The moment the new API’s code is merged, a coverage rebuild starts. A coverage engine reads the platform code, the CLI, and our test code, and matches every API and CLI command to the tests that check it. Our new API matches nothing, which makes it a gap.
The engine ranks each gap by priority and product area, so a gap in a critical API ranks higher than one in an API almost nobody uses. Those rankings feed the Coverage tab of our QA Custom Dashboard, which shows how much of the platform our automated tests protect and which gaps to close next.
No one had to spot the new API or touch a spreadsheet. Coverage is computed from the code itself, so the data is current every time the code changes.
Stage 2: AI opens the pull request
When new commits push coverage of a priority area down, our Slack coverage alert fires, and that alert also starts Auto-PR. An AI agent reads the ranked gaps and writes tests for them under our framework rules. It runs our automated quality checks and opens a pull request, which is a proposed code change that a person must approve. The agent then replies in the alert’s Slack thread with the link and tags the QA team. Engineers can also start Auto-PR from the dashboard.
Sometimes the checks fail, or the agent can’t get through the whole batch. In those cases, the pull request opens as a draft, which keeps anyone from mistaking half-finished work for something ready to review.
Stage 3: A QA engineer decides
Auto-PR writes to a style we spelled out ahead of time. Our framework rules are written down as instructions the AI has to follow, so its tests read as if a person on the team wrote them. Those same rules guide our AI pair-programmer when an engineer asks it to write or fix a test from a plain-English goal. Most changes to our test framework are now co-written this way.
The AI’s role ends at the pull request. A QA engineer reviews it, asks for changes or makes them, and decides whether it merges. The AI never merges its own work; only a person can. An automated scan also checks the change for passwords and access keys, so none slip into the code.
Much of the time saved compared with the old process comes from this step. The hours an engineer once spent typing out a test like this one now go into deciding whether it’s any good.
Stage 4: Onto the schedule
After the merge, the test becomes part of the regular schedule. Quick critical checks run around the clock, and broader suites run daily and weekly. On the next coverage rebuild, our API matches its new test and drops off the Coverage tab’s gap list.
The test now reports to the QA Jobs tab, where the team can see whether each scheduled suite is passing. Every job shows its last five runs, a one-click re-run button, and the Slack channel its results go to.

The QA Jobs tab, with each suite’s recent runs and a one-click re-run
Stage 5: When it breaks
Sooner or later, a test will fail. Handling those failures well was a key reason we re-engineered the process. We didn’t want engineers starting from a raw log when it happens, so failures go through AI too.
AI failure analysis posts the result to Slack with a summary that compares recent runs and points to the likely cause. Related failures get grouped into a single Slack entry, so an outage hitting several customers arrives as one message. The developer who owns the change can see which job failed and the probable reason, then re-run it from the dashboard with one click.

An AI failure summary in Slack, grouping related failures into one entry
The solutions we’ve built for customers get the same protection. The Customer Runs tab reports each one’s daily full-workflow results and flags runs that are failing or stale, which gives customer-facing teams time to act before the customer experiences a problem.
The loop keeps an eye on itself as well. If a commit pushes a priority area below its coverage target, the team gets a Slack alert, and the new gaps go back to Stage 1.
People always make the key decisions
Look back over the path and you’ll find a person at every point where code gets merged or a run gets started.
- Every AI-written change goes through a pull request that a QA engineer reviews and merges at Stage 3.
- Before the AI writes anything, it’s bound by framework rules we wrote down once, which keeps its tests consistent with hand-written ones.
- Every change is scanned for passwords and access keys, and none are stored in code.
- Tests on our live platform run only reviewed code, and tests of customer solutions are built so they can’t change or delete anything.
- If someone asks an AI assistant to start a run, a person still has to click Confirm, and repeated starts are rate-limited.
The AI reads and recommends. Decisions about merging code and starting runs stay with people.
The same path, every day
That’s one gap. The same path runs for every gap, and nobody has to organize a big manual push to keep it going. Coverage creeps up a little every day as gaps close.

Every gap runs the same loop, so coverage goes up a little every day
Each team gets something different out of our transformed approach:
- QA engineers start their day with pull requests Auto-PR has already opened. Because the tests follow our rules, most of their time now goes to review, and they no longer spend hours writing each test by hand.
- Developers see which job failed and the likely reason. They can re-run the test with one click and get a Slack alert if a commit drops coverage below target.
- Product and leadership can check platform health from one dashboard link, or ask an AI assistant how well the critical APIs are covered and whether today’s production checks are passing.
- Customer-facing teams can see each customer’s daily health, with failing and stale runs flagged early.
We’re proud that today more than 95% of our most critical platform APIs have automated tests, and more than 90% of all platform APIs are covered when weighted by priority. Nearly every command in our CLI is covered, and about four in five recent changes to the test framework were co-written with AI.
We also built the dashboard behind all of this as a RapidCanvas DataApp on our own platform, so it doubles as a working example of what our customers can build.
What we learned
Every AI project is an opportunity to learn and improve, and this one was no exception. Here are our top lessons.
- Fix visibility first. A single place that shows where your tests stop is worth more than another hundred tests nobody looks at, and everything after Stage 1 depends on it.
- Pull coverage from the code. A spreadsheet starts going stale the day after someone updates it. A coverage map built from the code updates itself whenever the code does.
- Write your rules down early and keep adding to them. AI follows explicit rules well and gets unwritten team habits wrong. When a reviewer corrects something in an AI draft, turn the correction into a new written rule so the same mistake doesn’t show up in the next draft. Over time, those rules end up holding the judgment of the people who know the framework best.
- Have AI explain failures as well as report them. A likely cause next to each failure saves the first hour of most investigations.
- Keep a person on every merge and every run. AI drafting the work is where our speed comes from, and human review is what lets us trust it.
New APIs keep arriving, and each one still needs its own test. Now each gets one sooner, and the QA team spends its time on the tests that matter most.
Build one for your team
If you’d like to talk through how to transform your QA workflows, the RapidCanvas team would be glad to have that conversation. Book a consultation, visit our website, browse our dozens of case studies, or read verified customer reviews on G2.





