A document that describes what your product does is not a requirement. It is a description. If you test your product against it, you will mostly prove that the product matches its own description, which it will, because the description was written by looking at the product. The bugs that hurt live somewhere else: in the gap between what the business needed and what the team built.
I learned to ask about this early in every discovery call, and a recent one with a two-sided marketplace startup showed why.
The question that got two different answers
I asked the team whether they had requirements for the platform, or whether everything lived in the code. The answer was confident. Every feature was documented. Every front-end and back-end function had a document describing its full cycle: what it does, how it should perform, what to expect from it.
That sounded like a good starting point, and in many ways it is. Then one of them stopped and rephrased it for the group: “We have a document that details what has been done, but we don’t have a document that details what we intended to do.”
That one sentence is the whole problem. Nobody on that call had done anything wrong. Writing down what you built is useful, it helps onboarding, and most teams never get that far. But a tester needs the other document too, and in most young products it does not exist.
Why a spec written after the code cannot find bugs
Think about how the per-function documents get written. A developer finishes a feature, opens it, looks at what it does, and writes that down. Sometimes a tool generates the description from the code. Either way, the source of truth is the code itself.
Now suppose the feature has a mistake in it. A worker’s hourly rate is rounded down instead of to the nearest unit. A job listing expires after 7 days when the product owner had pictured 30. A user who rejects an agreement can still see the other party’s phone number.
The document will faithfully describe all of that. “Rates are rounded down.” “Listings expire after 7 days.” Testing against it gives you a clean pass on every line. The product agrees with itself perfectly, and the bug ships.
We see a version of this with code and tests generated by the same tool, which we covered in the AI testing anti-patterns we see in client engagements. When the same source writes the thing and the check for the thing, the check cannot disagree. Documentation written from the code has the same weakness, with or without any tooling involved.
Where the bugs actually are
Most of the defects that matter to a business are not crashes. They are places where the software does something reasonable that nobody wanted. The developer made a sensible assumption, the product owner had a different picture in their head, and nobody wrote either one down before the work started.
A few examples of what that looks like in a marketplace:
- A worker can apply to the same job twice, because nobody said they should not.
- The agreement both sides sign does not mention cancellation, because the template was copied from somewhere else.
- A client in one time zone books a call that shows up at the wrong hour for the worker.
- The “completed” status can be set by one side alone, when the business assumed both had to confirm.
Every one of those would pass a test written from the as-built documentation. Every one would surface quickly from a conversation with the person who knows what the product is for.
How to recover intent before you test
If you are about to bring testers in and you only have as-built documents, you do not need to stop and write a full specification. You need to get the intent out of people’s heads and onto a page, and it is faster than it sounds.
Ask the product owner the outcome questions
Not “what does this screen do”, but “what should have happened for the user when they leave this screen”. Who should be able to see this data? What happens if the user changes their mind halfway? What does done look like for this transaction? The answers are often short, and they are often different from what the code does.
Write the main user journeys in plain words
For a marketplace, that is something like: a worker signs up, builds a profile, finds a job, applies, agrees terms, meets, gets paid, and ends up with a completion record. Write the client’s side as well. One paragraph per journey is enough. This becomes the spine of the test plan, and gaps in it become obvious as soon as you read it aloud.
List the business rules separately
Rules hide inside features. Who can cancel and when. What happens to a payment if a meeting does not take place. How long data is kept. Which documents a user must upload before they can apply. Pull these into a single list. A rule nobody can state is a rule nobody has tested.
Turn the important ones into acceptance criteria
For the journeys and rules that would cost real money or trust if they broke, write a few lines in the form “given this situation, when the user does this, then this should happen”. These do not need to be perfect. They need to be written before anyone looks at what the software currently does, so they reflect what was wanted.
Compare, then test
Only now is the as-built documentation useful in the way the team hoped. Put the two side by side. Wherever the intent and the description disagree, you have either found a bug or found a decision nobody made. Both are worth knowing before a user finds them for you.
What this means for a testing engagement
When we audit a product, requirements make the work faster and the findings sharper. Without them, testers are guessing how the product should behave, and a guess is a weak basis for calling something a defect. With only as-built documents, they are checking that the product does what it does.
So the first few days of a good engagement often look less like testing and more like interviewing. Short sessions with the product owner, a written set of journeys, a list of rules, and agreement on what success looks like. It can feel like a delay. In practice it is the part that decides whether the rest of the testing finds anything worth fixing. We have made the same argument about testing early: the cheapest place to catch a wrong assumption is before anyone has built on top of it.
Our view
Keep your as-built documentation. It is genuinely useful, and it tells testers how the product works. Just do not mistake it for the thing it cannot be. A requirement is a statement of what someone needed, written before anyone knew what would get built. If you do not have that, spend a few hours recovering it. It is the only document your product can fail against.
This is how our functional testing works: https://betterqa.co/functional-testing-services/