A QA-AI pipeline for a manual tester: from requirements to the report
A QA-AI pipeline splits work from requirements to report into stages, with a person checking AI output in between, as a mistake multiplies down a chain. Stages: requirements review, test analysis, techniques, test cases, data, bug reports, regression, report. Invented conditions are cut by checking against the requirement, and severity and priority stay human. Inputs hold no personal data, and coverage is measured against the requirements.
QA Fundamentals · AI in testing
You give AI a requirement and an hour later you have 60 test cases. Why is that not yet a result?
A one-off request "write cases" gives a heap of text in which invented rules are hard to find. A pipeline splits the work into stages with a person checking the output in between, so a mistake does not move on. How to write a separate prompt for test cases is covered in the lesson on prompts; here is how to assemble the steps into a working process for a manual tester with no code at all.
How it works and why. Each stage has the same shape: what goes in, what AI produces, what a person checks. The output of one approved stage becomes the input of the next. The reason is that mistakes multiply in a chain: an invented condition at the analysis stage turns into several cases, and those into data and a report. It is cheaper to stop it at once, where it is still visible. Another reason is that a person is responsible for each artefact, so they need intermediate results that can be read and not only a finished set at the end.
One stage: AI drafts, a person decides
| Stage | Input | AI produces | A person checks |
|---|---|---|---|
| Requirement review | requirement text | gaps, contradictions, questions | do the questions follow from the text; the analyst answers, not AI |
| Test analysis | approved requirements | test conditions and risks | check each condition against the requirement, remove inventions |
| Test design techniques | conditions and technique name | classes, boundaries, decision table | boundaries by the requirement (off by one), completeness of combinations |
| Test cases | conditions and a case template | cases by the template | steps are executable, the result comes from the requirement, no duplicates |
| Test data | field rules and formats | synthetic values | conform to the rules, no real data |
| Bug report draft | notes, steps, a cleaned log | a title and a description | reproduce the defect, remove details that were not there; a person sets severity |
| Regression selection | changes and the case catalogue | which cases are affected and why | missed risk areas, the decision stays with a person |
| Report | results and defects | a summary draft | numbers from the tracker, release risk assessment |
Example: what a check between stages catches.
Requirement: "A transfer from 1 to 10,000 UAH. A daily limit of 20,000 UAH."
Stage 1, AI proposes questions:
1. Are 1 and 10,000 included in the range? <- from the text, keep
2. Does a 5,000 limit apply to new users? <- not in the requirement
Human decision: send question 1 to the analyst;
drop question 2 because there is no 5,000 rule in the source.
Question 2 sounds reasonable, which is exactly why it is dangerous: had it gone further, cases for a 5,000 boundary would have appeared and the report would have shown a "covered" requirement that does not exist. A comparison with the source at stage one is cheap, and at stage five it would require untangling everything that grew from this invention. Each stage deserves a short checklist, like the column in the table above.
Where it lives without code. A library of prompt templates in a wiki or document: for each stage a role, an input, an output format and an example. Shared case and bug report templates so the result lands in the same fields as a person’s. Saved instructions in the tool, if it supports them, so the template is not pasted every time. A manual chain: the approved output is pasted into the next stage. Templates are versioned and improved from the mistakes found.
Limits and alternatives. A pipeline makes sense when there are enough requirements and cases for the routine to pay off. For one small change it is simpler to write the cases yourself. Not every stage has to be applied: in a fast sprint, requirement review and bug report drafts are enough. Inputs must be safe: no personal or real data, secrets or closed materials unless the company policy allows it, and only in approved tools (see the lesson on forbidden data). Coverage is measured against requirements, for example by a traceability matrix, and not by the number of cases.
Common mistakes.
- Checking only the final result: an invented condition from stage one has already multiplied.
- Letting AI answer the questions on requirements: the answers must come from the analyst or the product owner.
- Treating "many cases" as coverage: AI readily repeats the obvious and skips what is missing.
- Letting AI set severity and priority without checking: that is a person’s decision.
- Not versioning templates: improvements are lost and results become incomparable.
Check yourself
At the test analysis stage AI added a condition "foreign cards support" that is not in the requirements. At which stage and how should it be found?
Answer
At that same stage: a person checks each condition against a specific item of the requirement. A condition without a source is either removed or turned into a question to the analyst and not into a rule.
Why should AI not be allowed to determine severity for bug report drafts?
Answer
Severity depends on impact, workarounds and product context that AI does not know, and the tester is responsible for the assessment. AI may suggest, but the decision is the person’s.