What AI and LLM testing is, how it differs from traditional QA, and the skills a beginner QA needs to get started.
Artificial intelligence and large language models (LLMs) are now part of the products QA engineers are asked to test — chatbots, AI-assisted search, content generators, and automated decision tools. Testing these systems draws on the same testing mindset as traditional software QA, but it adds a set of problems that classic manual and automated testing were never designed to handle.
This article covers:
Traditional software is deterministic: given the same input and the same code, you get the same output every time. A login form either accepts a password or rejects it, and that behavior does not change between test runs. AI systems, especially those built on machine learning models, do not work this way. Their behavior is learned from data rather than written as explicit rules, which means the system can be technically 'working correctly' and still produce an answer nobody predicted.
This has three practical consequences for testing. First, there is rarely a single correct output to assert against — testers work with a range of acceptable answers instead of one expected value. Second, the system's behavior can drift over time as the underlying model is retrained or fine-tuned, so a test that passed last month is not guaranteed to pass today. Third, failures are often subtle: the system responds fluently and confidently even when it is wrong, so a tester has to actively look for errors rather than wait for the system to crash or throw a visible error.
Ask an LLM the same question twice and you may get two differently worded — sometimes contradictory — answers. This happens because most language models generate text by sampling from a probability distribution over possible next words, rather than always picking the single most likely one. Some systems allow this randomness to be reduced (often called 'temperature'), but it is rarely eliminated completely, and many production systems keep some randomness on purpose because it makes responses feel more natural.
For testing, this means a single test run proves very little. A test case that passes once could fail on the next run with identical input, and a test that fails once might be an anomaly rather than a genuine bug. Effective AI testing usually runs the same input multiple times and looks at the pattern of outputs — how often the system gives a correct, acceptable, or wrong answer — rather than treating one run as a definitive pass or fail.
AI testing is usually organized around a few overlapping concerns, and a mature test strategy touches all of them:
Each of these needs a different kind of test design, and most real projects prioritize them differently depending on what the AI system is used for — a customer-facing chatbot puts more weight on safety and bias than an internal data-summarization tool does, for example.
AI testing is not a single phase at the end of development — it happens at several points:
QA engineers are typically most involved in integration testing and production monitoring, working alongside data scientists and ML engineers who own the earlier stages.
You do not need a machine learning background to start testing AI features. The core testing skills — designing test cases, thinking in edge cases, documenting defects clearly, and being systematic about coverage — transfer directly. What changes is the mindset: instead of asserting on one expected value, you learn to define a range of acceptable outputs, run tests repeatedly rather than once, and pay close attention to how confidently a system states something that turns out to be wrong.
A practical way to start is to pick a feature you already use — a chatbot, a search assistant, an AI writing tool — and deliberately try to break it: ask it something outside its scope, give it contradictory instructions, or ask the same question five times and compare the answers. The patterns you notice from that kind of exploration are the foundation the rest of the articles in this section build on.
Tesvan has published several real case studies on AI testing challenges:
Defining “Correct” in AI Systems
Solving LLM Instability in Internet Marketplace Platforms
Retrieval-Augmented Factuality
Hallucination Testing In Chatbots