Vibe Engines
YouTube

Vibe Engines is free, interactive AI engineering & system design — runs in your browser. Pick a learning path

Handbook · AI-Era Careers

The AI-Era QA Engineer.

An AI writes the test script, the selectors, a hundred assertions. So what is QA for? The parts that were always the real job: deciding the test strategy, judging risk to know where testing matters, exploratory testing that finds the bug nobody specified — and a brand-new discipline AI itself created: testing systems that have no single correct answer. A test the AI wrote to pass the code the AI wrote proves nothing. This is a career handbook for becoming the QA engineer who gets more valuable as test code gets cheap — what to lean into, the new stack (reviewing generated tests, strategy, testing AI systems with evals), five ways to work AI-augmented this week, and a 90-day plan.

~16 min readfor QA / SDETs5 workflows90-day plan
A companion to the shipped QA and evals content, not career advice. It assumes you already test software; the goal is where to point that skill as the tools change.
01

What gets cheaper, what gets scarce

AI collapses the cost of writing tests and raises the premium on knowing what to test, why, and how to test what has no single right answer. A hundred generated assertions are cheap; the judgment about which failures matter is not. Move your time to the right.

Getting cheap (AI is good at it)Getting scarce (the moat)
Test scripts, selectors, boilerplate casesTest strategy — what to test and to what depth
Unit-test drafts for a given functionRisk-based judgment — where a bug actually hurts
Page objects, fixtures, data setupExploratory testing — finding the unspecified bug
Translating a manual case to automationJudging whether a test asserts something meaningful
Generating input permutationsQuality advocacy — what "good enough to ship" means
—Testing AI / nondeterministic systems with evals (new)

The right column is what separated a quality engineer from a script-recorder before AI — and it grew a new row, because AI features created a kind of testing (evals over a probabilistic system) that assertEquals cannot do.

02

The new QA stack — where to build the moat

Keep the durable core (strategy, risk, exploratory instinct). Then add the review skill and the new discipline the AI era demands.

1 — Review generated tests: do they test, or just restate the code?

The scarce skill is judging test quality. A generated test can pass while asserting nothing meaningful — restating the implementation, mocking away the behavior, or checking that code does what it does rather than what it should. And never trust tests the AI wrote for code the AI wrote; that only certifies the current behavior. Read generated tests for whether they assert real behavior, cover the failure modes that matter (which you decide from risk), and would actually catch a regression. Coverage numbers lie; meaningful assertions do not.

2 — Own strategy and exploratory testing

AI generates cases from a spec; it does not decide what is worth testing, nor does it explore. Risk-based strategy — spending test effort where a failure actually hurts — and exploratory testing that pokes the unhappy path nobody wrote down are exactly what a flood of generated tests still needs on top. The bug that ends up in a postmortem is usually the one no spec described; finding it is human judgment and curiosity the model does not have.

3 — Test AI and nondeterministic systems with evals

This is the high-demand new discipline. AI features have no single correct output, so you replace assertEquals with evals: a representative, versioned case set, a definition of "good" (correct, safe, grounded, on-tone), and a measured pass rate rather than a green check. You also probe failure modes ordinary software lacks — hallucination, prompt injection from untrusted input, bias, unsafe outputs. A QA engineer who can design and run evals for an AI feature is one of the most sought-after testers right now.

03

Five ways to work AI-augmented this week

Each amplifies your judgment without outsourcing it. The verify line is where your value lives.

1 · Draft tests, then judge whether they mean anything

  1. Generate from behavior you specify, not from the code:
Here is the intended behavior of [feature] and the edge cases I care about [list]. Write tests that assert this behavior — not the current implementation. For each test, state what real failure it would catch. Do not mock away the thing under test.
You verify: each test asserts meaningful behavior and would fail on a real regression — not a test that passes by restating the code. The expected results and the risk are yours.

2 · Turn risk into a test plan

  1. Prioritize by impact, not by ease:
For [feature], help me build a risk-based test plan: the failure modes ranked by user/business impact and likelihood, where to spend deep testing vs a smoke check, and which areas need exploratory testing rather than scripted cases. Do not treat all areas as equal.
You verify: the risk ranking against your knowledge of users and the system — the model guesses impact. Where testing effort goes is your strategic call; it structures the thinking.

3 · Design an eval for an AI feature

  1. Replace assertEquals with a measured bar:
Help me design an eval for [AI feature]: what "good" means for its output, a representative case set (typical, edge, adversarial, known-failure), how to score each (correct, safe, grounded, on-tone), and the pass-rate bar to ship. Flag where the set skews toward easy cases.
You verify: the set represents real usage and the scoring matches what users value — an eval over easy cases greenlights a bad feature. The definition of good is your call.

4 · Adversarially probe an AI output

  1. Attack the failure modes ordinary tests miss:
Generate adversarial inputs to break [AI feature]: prompt-injection attempts via untrusted content, cases likely to hallucinate, bias triggers, and inputs that could produce unsafe or off-policy output. For each, say what a failure would look like. I will run them and judge.
You verify: run them and judge the outputs yourself — the model is a weak judge of its own kind. Finding the unsafe or hallucinated failure is the QA value; it helps generate the attacks.

5 · Explore, with AI taking notes

  1. Keep the curiosity human; offload the bookkeeping:
I'm doing an exploratory session on [feature]. As I describe what I try and see, track the areas I've covered, suggest under-explored paths and boundary conditions I haven't hit, and draft repro steps for anything I flag as suspicious. Don't tell me it works — help me look harder.
You verify: the exploration and the "is this a bug?" call stay yours — the instinct for what feels wrong is exactly what the model lacks. It handles the notes so you can keep poking.
04

The judgment exercise: spot the danger

Three cases where AI-generated testing looks thorough. The skill being tested is the one that pays now.

1. An AI wrote both the function and its tests. All tests pass, coverage is 95%. Sign off?

2. You're testing an AI summarization feature. You write assertEquals(summary, expected). It fails every run with different text. Your move?

3. The AI generates 200 input-permutation tests for a form. Great coverage of the form. Ship confidence high?

05

Your role in three years — and a 90-day plan

In three years the title still says QA or SDET, but the work shifts: less hand-writing scripts, more owning strategy, exploratory testing, and the evals that gate AI features. A concrete start:

WeeksDo thisWhy
1–3Let AI draft tests from behavior you specify; review each for meaningful assertions, reject self-referential onesBuilds the judge-test-quality skill that is now core
4–6Write a risk-based test plan for one feature; do a real exploratory session on itSharpens the strategy and curiosity AI cannot supply
7–9Design and run an eval for one AI feature — case set, scoring, pass-rate barThe high-demand new discipline: testing nondeterministic systems
10–12Adversarially probe an AI feature for hallucination, injection, and unsafe outputThe AI-specific failure modes ordinary QA never had to test

The through-line: let AI write the scripts fast, and get deeper in strategy, exploration, and evals it cannot own. Do both and the tools make you more valuable.

The picture: an assertion versus an eval

deterministic code: one right answer input code == expected? pass / fail AI feature: many acceptable answers case set200 cases AI feature scorercorrect, safe pass rate ≥ bar?
The top lane checks one output against one known answer. The bottom lane cannot, because a good summary or reply can be worded a thousand ways. So the unit of testing moves from a single case to a set, from equality to a scored judgement, and from pass/fail to a rate measured against a bar you chose before running it.

Worked example: reading one eval run, slice by slice

Say you are gating an AI support-reply feature with 200 cases: 120 typical, 50 edge and 30 adversarial (prompt injection, requests it must refuse). The bar, written before the run: at least 85% overall and at least 80% on every slice. Each output is scored correct, grounded and safe, or it fails.

RunTypical (120)Edge (50)Adversarial (30)Overall (200)Verdict
1114 = 95%38 = 76%18 = 60%170 = 85%Overall passes, two slices fail: no ship
2, after fixes114 = 95%40 = 80%26 ≈ 86.7%180 = 90%Every slice clears its bar: ship candidate
Margin at 95%——about ±12 pointsabout ±5 pointsSmall slices are noisy

Run 1 is the classic trap: the headline 85% meets the bar exactly while the adversarial slice, the one that ends up in an incident report, fails 2 cases in 5. Run 2 passes, but read the last row before celebrating. With 200 cases, an 85% rate is only known to about ±5 points, so a 2-point move between runs is noise, not progress. With 30 adversarial cases the margin is about ±12 points, so 86.7% is not clearly above 80%. The honest next step is to grow the adversarial slice, not to argue about the number.

Trade-offs: what each kind of testing costs and buys

Here Time is how fast it gives feedback, and Space is what it costs to build and keep.

CaseTimeSpaceWhy
Unit testsSecondsCheap to write, cheap to runCatch logic regressions; only as good as their assertions. AI drafts them well.
Integration testsMinutesNeed real dependencies or good fakesCatch the seams between components, where generated code often guesses.
End-to-end UI testsSlowest automated tierBrittle; selectors and timing breakKeep a few for the critical journeys, not hundreds.
Mutation testingSlow: reruns the suite per mutantCompute, not peopleShows whether tests would catch a change. The direct check on generated tests.
Exploratory sessionAn hour or two of a personYour attentionFinds the unspecified bug. Nothing automated replaces it.
Eval runMinutes to hoursModel calls per case, plus labellingThe only way to measure a nondeterministic feature; rerun on every prompt or model change.

AI has made the cheap rows cheaper still. That is the reason to spend the saved time on the rows it cannot do: deciding what matters, exploring, and judging the outputs.

Common mistakes when testing with and testing AI

  • Chasing coverage instead of killing mutants

    Coverage counts lines executed, not behaviour checked. Mutation testing flips a < to <= or deletes a line and asks whether any test fails. A generated suite at high coverage that lets most mutants survive is asserting very little.

  • Using a model as judge without checking the judge

    An LLM grader is a measuring instrument, and an uncalibrated one. Have people label a sample, measure how often the grader agrees with them, and recheck when you change either model.

  • Letting eval cases leak into the prompt

    Copying failing eval cases into the prompt’s examples makes the score rise without the feature getting better. Keep a held-out set that nobody tunes against.

  • Accepting generated UI tests with sleeps

    Generated end-to-end tests often wait a fixed number of seconds and select by brittle CSS paths. They pass on your machine and flake in CI. Wait on a condition, and select by role and accessible name.

  • Retrying flaky tests until green

    A test that fails one run in ten may be telling you about a real race. Automatic retries hide it. Quarantine it, find the cause, and only then put it back in the gate.

Where this shows up in production and interviews

  • CI gates for prompts

    A prompt edit is a code change. Teams that ship AI features run the eval set in CI on every prompt, model or retrieval change and block the merge if a slice falls below its bar.

  • Model upgrades

    When a provider releases a new model version, behaviour changes in ways no changelog lists. Rerun the full eval set, slice by slice, before switching, and keep the old model one config flag away.

  • Security and red-teaming

    The OWASP Top 10 for LLM Applications lists prompt injection first. Adversarial probing for it, and for data leakage and unsafe output, is becoming a standing part of QA for any feature that reads untrusted text.

  • QA and SDET interviews

    “How would you test a chatbot?” rewards the shift on this page: a case set with slices, a definition of good, a scorer you have checked, a bar set in advance, and adversarial cases, not a list of exact-match assertions.

Frequently asked

Quick answers

Will AI replace QA engineers?

No — it automates writing tests and raises the premium on test strategy, risk judgment, exploratory testing, and the new discipline of testing AI systems with evals. A test the AI wrote for its own code proves nothing.

How do I test an AI feature?

With evals, not assertEquals — a representative versioned case set, a definition of good, and a measured pass rate, plus adversarial probing for hallucination, injection, bias, and unsafe output.

Should I let AI write all my tests?

Draft, yes; trust unreviewed, no — and never let it write tests for code it also wrote. Read generated tests for meaningful assertions and coverage of the failure modes that matter.

Where should a skeptical QA engineer start?

Recipe 3 — design one eval for an AI feature (case set, scoring, pass-rate bar). It is the highest-demand new skill and immediately shows why AI testing needs evals, not assertions.

Finished this one? 0 / 209 Handbooks done
NextThe AI-Era Engineering Manager Next on the “Your engineering role in the AI era” ladder · rung 7 of 10

Explore the topic

See this alongside everything else on the same subject — handbooks, system designs, challenges and tools, in one place.