Skip to content

Evolve

Acceptance testing for AI-assisted software: what to check before launch

Before accepting AI-assisted software, test it against the request: what to check, reproducible evidence, a fictional example and an acceptance matrix.

In this guide
Hands using a phone and a large screen with checklists of green check marks and one pending box.

A module built with help from AI can compile, look good in the demo and still fail on the first unusual order, the first user without permissions or the first empty field. Before you accept it, someone in your company has to test it against what was requested and leave evidence that another person can repeat. That way you decide on facts, not on the impression the demo left.

This guide is for owners and department leads at SMEs and B2B companies in Colombia who receive software built or changed with AI assistants, whether by an in-house team or a vendor. It gives you a sequence, a matrix of what to check and a rule for accepting, accepting with open items or sending the work back.

Working in the demo does not mean it is ready

A demo usually walks the happy path: the right user, complete data and the expected sequence. Acceptance checks that the result meets what was agreed in the exceptions too, with real permissions and without breaking what already worked.

With AI that risk does not go away; it changes shape. The GitHub Copilot documentation is blunt about it: the tool can make mistakes, and whoever uses it should always validate the code it suggests, understand it before implementing it, review its security and maintainability, and rely on automated tests and analysis tools. That responsibility does not shift to the tool.

This guide is not about writing the requirement. If you do not yet have the scenarios and acceptance criteria in writing, start with RealStack's guide on how to request a software improvement without scope creep and its requirement sheet. This guide takes that document as the starting point for testing the result.

Where to look more closely

AI-assisted code is not suspect by default, but it can hide mistakes in predictable places. If the same tool wrote both the code and its automated tests, both can share the same wrong assumption; those tests help, but they do not replace your business scenarios. An assistant can also "improve" files nobody asked it to touch or bring in new libraries, so ask for the list of modified files, screens and dependencies. Without it, you do not know what else changed.

With permissions, the shortcut to getting something working fast can be granting more access than needed, and only negative tests (what a role must not be able to do) bring it to light. The same goes for sensitive data in the wrong place: keys written into the code, logs that store full personal data or error messages that expose internal information. And a convincing explanation does not prove that a change works; the evidence is the observed result.

Who accepts and what counts as evidence

Define three roles, even if one person holds two. Whoever requested the change confirms that each criterion reflects the business need and signs off on the decision. Whoever built it delivers the version, the environment, the test data and the list of changes, but is not the only one who tests their own work. Whoever tests runs the scenarios and records the results, without fixing code during the session.

Evidence is reproducible when another person, with the same steps, version and data, gets the same result; "it worked for me" is not. Each record notes the criterion, version, environment, role, input data, steps, expected and actual result, supporting file and who ran the test.

Acceptance test matrix

Use the matrix as a list of areas to cover. Anything that does not apply is marked "not applicable" with a reason, not left blank.

AreaWhat to checkMinimum evidence
Functional criteriaEach "Given… when… then…" criterionExpected and actual result per criterion
ExceptionsEmpty data, duplicates, unexpected formats, cancellations, double clicksOne negative case per main criterion
Roles and permissionsWhat each role can do and what it must not be able to doTests with users of each role, not an administrator
Existing dataEarlier records display and calculate as agreedBefore-and-after comparison
RegressionWhat already worked still worksCritical flows run again
IntegrationsPayments, invoicing, email, WhatsApp, ERPResult in the external system
Basic securityKeys kept out of the code, input validation, errors without internal dataCode review or tool report
OperationsHow it is deployed and how it is rolled backRollback tested or documented
Declared changesModified files, dependencies and screensList delivered and reviewed

For the security area there are two open references. OWASP maintains the ASVS (Application Security Verification Standard), a framework of security requirements for designing, developing and testing web applications. You do not need to apply all of it to accept a small change, but it gives your vendor a way to state what they verified. NIST, in its Secure Software Development Framework (SSDF, SP 800-218, version 1.1), recommends reviewing and testing code to find vulnerabilities before the software is released, and recording and triaging every finding in the team's issue tracking system; among its examples, it suggests adding previously reported vulnerabilities to the test suite so they do not come back. Neither is a Colombian regulation: use them as a guide for your questions, not as a certification.

With the acceptance test matrix, you note each area, the criterion, the evidence and the decision before you accept work built with AI assistance. It includes one made-up example row to guide you.

How to run the acceptance session

  1. Freeze the version and write it down. If it changes during the session, earlier results no longer count.
  2. Test in an environment close to production, with synthetic or anonymized data. Using real customer data because "it is faster" raises the risk without improving the test.
  3. Create one user for each role the change touches. Testing everything as an administrator hides permission errors.
  4. Run the normal case first and then the exceptions, and record each result as you go, not from memory at the end.
  5. Run the short regression: repeat the critical flows the change could affect, even if nobody mentioned them.
  6. Classify the findings. A finding is blocking if it prevents use or puts data or money at risk; non-blocking if the result can be used with a dated open item; a scope change if it was never requested, in which case it becomes a separate request, with its effect on timeline and cost.
  7. On the fixed version, retest what failed and run the short regression again, because a fix can break something else.
  8. Put the decision in writing, signed by whoever requested the change: accepted, accepted with open items that have an owner and a date, or returned.

Fictional example: a quoting tool that passed the demo

This example is made up; it is not a RealStack or client case. A supplies distributor asks for its portal to calculate volume discounts on quotes. The vendor delivers it with help from an AI assistant, and in the demo the calculation works.

In the acceptance session, the normal case passes. Logged in as a salesperson rather than an administrator, the tester finds that this role can edit the discount percentage, something the requirement sheet reserved for sales management: blocking. When older quotes are opened, their totals are recalculated with the new rule, which changes documents already sent: also blocking. The list of changes also shows an unrequested edit to the quote email template, which is sent back to be reverted or approved separately.

In the second session, on the fixed version, the criteria, the two failed tests and the short regression are run again. Everything passes, and management accepts with one dated, non-blocking open item: a help text.

What this guide does not cover

It does not replace a security audit, a load test or a legal review of how you handle personal data. Nor does it claim that software built with AI is better or worse: the acceptance discipline is the same whether the code was written by a person, a tool or both.

If you work with an external team on an ongoing basis, ask for every delivery to come with the list of changes and the test evidence. To sort out what remains open after several deliveries, RealStack's guide on technical debt that is already affecting the business helps you decide what to fix first, and if the change touches payments, the guide on payment webhooks and preventing duplicate shipments includes tests for that flow.

Bring it to your business

Acceptance test matrix

CSV template to run and record acceptance tests for AI-assisted software: test areas, reproducible evidence, finding classification and decision.

View resource
Do I need to know how to code to run acceptance tests?

No. You need written criteria, test users by role and the discipline to record results. Reviewing the code is the job of whoever builds the software or of a technical reviewer; you check that the result meets what the business asked for.

If the vendor says they reviewed the code with AI, does that count as testing?

It counts as one more review, not as acceptance. The GitHub Copilot documentation states that the tool can make mistakes and that whoever uses it should validate the code it suggests. Ask for the evidence and run the business scenarios.

What do I do with a bug that was not in the criteria?

Classify it. If it prevents use or puts data or money at risk, it is blocking even if nobody wrote it down. If it is something new that was not requested, log it as a scope change and decide on it separately.

How many times do the tests have to be repeated?

Every time the version you are going to receive changes. Repeat what failed and the short regression; if the fix touched shared parts, widen the regression.

Authorship and sources

Author: Andrés Florez · RealStack