Write a PRD that works
The PRD is the tester's whole idea of what is right. How to get a complete one written in minutes, what it must contain, and how to keep it current.
The tester uses your app like a person and compares what it sees with your PRD (product requirements document). The PRD is its whole idea of what is correct. Everything it reports as a bug is a difference between the app and this document.
That makes the PRD the biggest thing you control:
- What the PRD leaves out, the tester guesses, from how other apps usually work. Guessing is where false alarms come from ("there is no forgot-password link" in an app that deliberately has none) and where bugs get missed.
- What the PRD gets wrong, the tester reports as a bug in your app.
- A short README is not a PRD. A good PRD for a mid-size app runs to hundreds of lines.
Let your coding assistant write it (about ten minutes)#
Your coding assistant has read your code, so it can write a far more complete PRD than a person can from memory.
- Run
testis prd promptin your project. It prints the prompt and copies it to your clipboard. The setup page (testis configure) and the chat (/prd) give the same prompt. - Paste it into Claude Code, Cursor or ChatGPT, in your project. It reads the code and saves
PRD.mdin the project root. - Read it, fix anything that is wrong, answer the
UNKNOWNlines, and runtestis test.
Testis tells you when it thinks your PRD is too thin: before a run, and in the report. If you see that message, use the prompt.
What a PRD needs for accurate testing#
The prompt asks for all of this. If you write or edit the PRD yourself, check each one:
| It needs | Why the tester needs it |
|---|---|
Numbered requirements, one behaviour per line (F3.12 Refreshing the page keeps the rows the user selected.) | Testis checks that every numbered requirement got a test, so nothing is silently skipped. |
| Exact wording in quotes: labels, headings, error messages, empty-state texts, statuses | Without it the tester invents the wording it expects and reports your real message as wrong. |
| How to reach every screen: the menu path and address | The tester does not guess addresses. It finds screens by following links and menus. |
| Accounts, roles and permissions, including what each role cannot do and who must not approve their own work | A missing button can be the rule working. Without the rule the tester calls it a bug. |
| Calculations with worked examples: formula, order, rounding, tax, fees | It works the expected value out itself and compares. |
| Every validation rule and its message, and what each empty list shows | Wrong input and empty states are where many bugs hide. |
| Statuses and who may move them | It checks the allowed paths and the forbidden ones. |
| What is kept after a reload, navigating away or signing out | Persistence bugs are easy to miss. |
| What the app does NOT have | It stops the tester reporting features you never wanted. |
| How to reach each state, and which states cannot be made in the browser | States that need an email inbox or another system are marked "cannot be checked" instead of failing. |
Thin and detailed, side by side#
A thin line:
Users can approve requests.
A line the tester can check:
F6.4 A request in "Pending" can be approved by a user with the Approver role who did not create it. The status changes to "Approved" and the message "Request approved" is shown. The creator sees no "Approve" button on their own request.
Keep it current#
When a feature changes, change the PRD in the same pull request. An out-of-date line shows up as a bug in the report, and the report says which PRD sentence it came from, so you can see whether to fix the app or the PRD. Run testis test "what changed" to test only the part you changed.
Something unclear or wrong? Write to hello@testis.dev.