Skip to content
Let’s Talk

Test case

A test case is a single example used to check an AI tool, made up of an input and a description of what a good result looks like.

A set of test cases covers normal requests, awkward ones and requests the tool should refuse or pass on.

An AI tool can answer the same question differently each time, so important cases are run more than once.

How you’ll hear it
“One test case is an expense claim with no receipt. The agent should ask for it and stop.”
Often confused with
A demonstration example, which is chosen because it works. A test case is chosen because it might fail.
A question to ask
Which awkward cases are in the test set?
Related terms
Read more

The example is fictional. This is general guidance, not advice for your situation.