Test cases from requirements

The agent extracts the rules from a spec, drafts test cases, marks edge cases and hands them to QA. QA reviews them with a peer.

assistStart today5 steps

What the agent does

  1. 1

    Read the spec.

  2. 2

    Extract the rules.

  3. 3

    Draft test cases.

  4. 4

    Mark edge cases.

  5. 5

    Hand them to QA. → QA reviews

Enough to decide?

Proposed pattern
Required input
No example input written yet
Example output
No example output written yet
Permission
QA reviews
Stop condition
missing cases; peer review
Reviewer
Not yet independently reviewed
Last run
Not run by us yet

What it costs to run

A rough range per run, from the cheapest to the dearest of the paid models we checked. Your real cost depends on how much text you send.

Checked 2026-11-25 source

$0.001 to $0.38 per run · $0.020 per run with a mid-priced model

Small, cheap model
$0.001 per runPer 100 runs: $0.14qwen3.7-flash (0-32K) · Alibaba Model Studio (Qwen)
Typical
$0.020 per runPer 100 runs: $2.00Mistral Large · Mistral
Large model
$0.38 per runPer 100 runs: $38.40Claude Fable 5.2 · Anthropic

Free tiers and local models can bring this to zero while you test.

How we worked this out
  • 5 model calls, one per step (at least 2)
  • 4,000 input tokens per call (it reads documents or data)
  • 800 output tokens per call
  • each call re-reads the earlier outputs
  • no retries, no loops, no cached-input discount

list API prices in USD per 1M tokens, checked 2026-11-25; one pass through the steps

5 model calls · 28,000 input tokens · 4,000 output tokens

  • Longer inputs cost more; agents that retry or loop use more calls.
  • Free tiers may cover small volumes: see free AI tokens.
  • Local models have no per-token price but need your own hardware.

low = cheapest, mid = median, high = dearest of the 36 paid models with a confirmed price in our table; models without a confirmed numeric price are left out

Browse provider prices

Works with

Tags

Before you start

Access the agent needs
documents, ticketing
Who approves
QA reviews
What to log
every action it proposes and the decision taken
When to stop
missing cases; peer review

Why it is worth it

Test cases written from the spec catch gaps early.

Start this week

  • Let the agent extract rules and draft test cases.
  • Have it mark edge cases.
  • QA reviews with a peer.

Watch out for

A rule missed in the spec means a test never written, so a second person reviews the test cases.

Measure this

Bugs caught before release.

About this entry

Proposed pattern Checked 2026-11-27 Next check 2026-12-25 v2026-11-27.1 Reviewer to be named
Proposed pattern Checked 2026-11-27 Next check 2026-12-25 v2026-11-27.1 Reviewed by Reviewer to be named

What we checked

Each part of this entry, whether it was checked, when, and by whom.
ItemResultDateBySource and note
Text and stepsChecked2026-11-25——
Human checkpoint and risksChecked2026-11-25Reviewer to be named—
Workflow runNot checked yet———
Cost estimateChecked2026-11-25—source · mid-priced model assumed
Tool linksNot checked yet———
Outside evidenceNot checked yet———

Limitations

  • This is a pattern written from how the job is usually done. We have not run it.
  • Steps, tools and risks are general. Your systems and rules will differ.
  • Test it with made-up or public data before using real data.
  • Not checked yet: workflow run, tool links, outside evidence.

Change history

  1. Watch-out line rewritten spec v2026-11-27.1
  2. Long text added: why it is worth it, how to start, what to watch out for, how to measure it spec v2026-11-26.1
  3. Added to the catalogue spec v2026-11-25.1

Full history

Evidence

  • No outside evidence yet; this is our own analysis.
Spec versions

Run it with AI

Pick the AI you already use.

Least setupMost control

You are helping product manager. Goal: Test cases from requirements.
The agent extracts the rules from a spec, drafts test cases, marks edge cases and hands them to QA. QA reviews them with a peer.

Work through these steps and show your result for each:
1. Read the spec.
2. Extract the rules.
3. Draft test cases.
4. Mark edge cases.
5. Hand them to QA.

Tools or data I can give you: documents, ticketing. Ask me for anything missing before you start. Do not take any action yourself; stop for my decision where: QA reviews. Watch for: missing cases; peer review.
needs the desktop app installed
needs a Kagi account

Opens the tool with your prompt already filled in. Review it there before you send.

Copies the prompt, then opens the tool. Paste it in to start.

Nothing happened? The Claude Desktop app (Mac, Windows, or Linux, where it is still in beta) may not be installed. Use the copy button instead.

All chat assistants →
The prompt is built in your browser. It reaches an AI only when you paste it in or open it there.What are these forms?

At a glance

Industry
saas
Autonomy
assist
Difficulty
Start today
Steps
5 · 1 human checkpoint
Runs as
on demand
Needs approval
QA reviews
What it costs to run
$0.020 per run with a mid-priced model
ID
UC-0726

Where to go from here

All product manager use cases

Similar work

These use cases do the same kinds of work as this one. Each card shows what they have in common.

Same kinds of tools, a different job

These use cases connect to the same kinds of tools as this one, so part of your setup carries over.

same tools: documents · ticketing

Blameless postmortem draft

The agent builds a timeline from incident data and chat, lists contributing factors and drafts each section using a blameless template. The incident lead edits it.

supervisedsoftware · $0.020/run
same tools: documents · ticketing

Risk register updater

The agent adds or updates risks from incidents, news and audits, scores them, assigns owners and reports. A periodic review catches missed risks, and the exec team approves.

supervisedstartup · $0.020/run