Cognitive Computing Council™

What should you test before an AI system goes live?

Testing is where you find the harm before your customers, or a plaintiff’s lawyer, find it for you.

By Harold Bell9 min read
A lab beaker on a yellow circle beside a check mark and an AI chip, a stand-in for testing an AI system before launch.

Why test AI before launch?

Because demos mislead. An AI system that looks great on a few examples can fail badly with real users. Testing finds those failures before your customers do. Real users find edge cases no demo shows. Test for prompt injection too, since attackers can hide instructions in content the AI reads.

Testing is also your proof. Buyers ask how you test for accuracy and bias. Regulators increasingly expect dated test records. Rite Aid never tested its facial recognition properly, and the FTC banned it from using the technology for five years. Our guide to AI hallucinations shows how to measure how often a model makes things up.

Testing also protects your team. It turns gut feelings into evidence everyone can see. When a launch decision is questioned later, the records show why it was made. That clarity helps leaders and engineers alike.

What should you test in an AI system?

Test whether the AI does its job well on realistic examples. Build a golden dataset, a set of real-world inputs with known good answers. Measure accuracy and, for generative AI, how often it makes things up. Use examples from real users where you can.

66% of people rely on AI output without checking whether it is accurate.

SourceKPMG and University of Melbourne, 2025

Then test safety and fairness. Try to break it on purpose, with tricks like prompt injection and jailbreaks. This is called red teaming. Check whether results differ for different groups of people. Test the whole system, including its tools and data access, not just the model. Our guide to AI model risk management explains how to validate a model before you trust it.

Test with the data the system will really see. Clean demo data hides problems. Messy, real inputs reveal them. Include typos, edge cases and unusual requests.

C3FOUR KINDS OF PRE-LAUNCH TESTSACCURACYDoes it get real tasks right often enough for its use?FAIRNESSDo results differ by age, sex, race or other groups that matter?SAFETYWhat happens with odd, harmful or out-of-scope inputs?SECURITYCan prompts, data or tools be abused, as in prompt injection?
Before launch, test accuracy on real tasks, fairness across groups, behavior on bad inputs and resistance to misuse.

How much AI testing is enough?

Enough to trust it for its risk level. A low-risk internal tool needs basic checks. A customer-facing chatbot needs more, including red teaming. AI that affects people’s jobs, money or health needs the most.

Just 22% of organizations run adversarial tests on their AI models, IBM found.

SourceIBM Cost of a Data Breach 2025 via VentureBeat

A common starting point is 50 to 200 realistic test cases, with 10 to 20% designed to trip the system up. High-stakes systems often need higher pass rates, like 99% instead of 95%. And testing doesn’t end at launch. Keep testing as models, data and users change.

Write down why you chose your sample size. A reviewer should understand the logic quickly. If the stakes are high, explain how you covered rare cases. That reasoning matters as much as the numbers.

C3TESTING BY RISK TIERHIGHAll four kinds,documentedFairness by groupwith real dataIndependent reviewof resultsLIMITEDAccuracy on realquestionsSafety andmisuse testsA check thatdisclosures showMINIMALA quick accuracyspot checkA data-handlingcheckAn owner signs off

Why set AI pass criteria first?

Because otherwise you’ll grade on a curve. If you decide what “good enough” means after seeing the results, it’s tempting to lower the bar. Setting criteria first keeps the test honest. It also makes the decision easier to defend.

Write clear thresholds before testing begins. For example, a task success rate of 90% or more, or made-up answers below 2%. Have product, engineering and compliance agree on them. Then the launch decision is simple. Either it passed or it didn’t.

Revisit the criteria as you learn. If a threshold turns out too loose, tighten it for the next release. Record the change and the reason. That history shows buyers your bar keeps rising.

How do you test AI for hiring decisions?

Test for bias before anything else. Compare results across groups like age, sex and race. A common rule of thumb flags trouble when one group’s pass rate falls below 80% of the top group’s rate. Keep dated records of every test.

Check the specific laws too. New York City requires an independent bias audit every year for hiring tools. Colorado and the EU AI Act expect testing for high-risk uses. California’s rules make anti-bias testing part of an employer’s defense. Use someone independent where you can. Here’s more on hiring AI laws.

Document the method, not just the results. Explain which groups you compared and how you measured. Keep the data you used, where the law allows. That record is what regulators and buyers ask for.

How do you plan pre-launch AI testing?

Start by writing down what the AI must do and what it must never do. Turn those into pass criteria. Build a golden dataset from real examples, and add tricky cases. Tricky cases reveal the most.

Then run the tests, including red teaming and fairness checks. Record the results, the date and who ran them. Fix the failures and test again. Get sign-off before launch. Keep the test set, so you can rerun it after every change. Public scores like an AI time horizon are no substitute for your own test set.

Share the results with the people who need them. Sales and support should know the limits. Buyers may ask for a summary. Our guide to documenting an AI model shows where results belong.

Set pass criteria, run the four kinds of tests, save dated results, and rerun them after every change.

What are common AI testing questions?

Can you rely on an AI vendor’s own testing?

Only partly. Vendor tests show how the model performs in general, not for your specific use. Test it yourself with your own data, users and risks before launch.

What is AI red teaming?

Red teaming means trying to break an AI system on purpose before attackers or careless users do. Testers try tricks like prompt injection, jailbreaks and attempts to pull out private data. The goal is to find weak spots and fix them.

How do you test AI for fairness without demographic data?

You have a few options. You can build test cases that vary only one trait, like a name or an age. You can use carefully estimated group data for testing only. Or you can bring in a trusted outside auditor who can handle sensitive data.

Which frameworks cover AI testing?

The NIST AI RMF covers testing in its Measure function, and its generative AI profile adds red teaming. ISO 42001 requires verification and validation. The EU AI Act requires testing for high-risk AI.

What is a golden dataset in AI testing?

A golden dataset is a set of realistic test inputs with known good answers. You run the AI against it to measure quality before launch and after every change. Build it from real examples, and add tricky cases.

NEXT STEP

Testing is where most of the cases in our research broke. A Risk Map shows where your testing falls short of the NIST AI RMF and ISO 42001, which laws raise the bar and which fixes to make first.

Learn about Risk Maps

This is practical guidance, not legal advice. It’s current as of November 2026.

Related AI governance guides

A document with code brackets on a yellow circle beside a gear and an AI chip, a stand-in for building and documenting a model.OPERATIONALHow do you document an AI model so you can defend it?A graduation cap on a yellow circle beside two resumes, the second highlighted in yellow and rejected with an X, the first AI hiring settlement.ETHICALWhat did iTutorGroup’s AI hiring settlement teach employers?A loop on a yellow circle linking a person and a robot, the question of where a human sits in an AI decision.ETHICALShould a human be in the loop, on the loop, or out of it?