Requirements
Requirements are documented statements of what a solution must do or achieve, written so that the people who build, test and pay for it agree on the target. They cover the business need, the behaviour of the system and qualities such as performance or security, and each should be clear, testable and traceable.
What it is
Requirements are documented statements of what a solution must do or achieve. A requirement turns a need into a sentence that a builder can implement and a tester can check. The set of requirements is the agreed description of the target before the work of building starts.
Business analysis standards group requirements by the question they answer:
- Business requirements: the goals, objectives and outcomes that explain why a change is started.
- Needs of affected groups: what the people or groups touched by the change require.
- Functional requirements: the behaviour and information the solution provides.
- Non-functional requirements: the qualities of that behaviour, such as speed, availability, security and usability.
A well-formed requirement has one reading, can be verified by a test or inspection, and can be traced back to the business need that justifies it and forward to the tests that prove it.
Why it matters
Requirements are the contract between the people who need a change and the people who deliver it. A missing or vague requirement is usually discovered when the solution is tested or used, when correction is slow and costly.
Traceability also limits scope. A request that traces to no business need is a candidate for removal, and a need with no requirement is a gap.
Worked example
Illustrative numbers. A finance operations unit wants to shorten the daily reconciliation of its cash ledger.
- Business requirement: reduce the time to reconcile the daily cash ledger from 4 hours to 1 hour.
- Functional requirement: the system imports the bank statement file and matches entries to ledger items by amount and payment reference.
- Non-functional requirement: matching of 10,000 entries completes within 5 minutes.
- Non-functional requirement: only members of the finance group can approve unmatched items.
The functional requirement traces up to the business requirement. Its test loads 10,000 test entries and records the elapsed time against the 5-minute limit. An unmatched item that no requirement covers, such as a partial payment, shows up as a gap to resolve before build.
How to read it
A requirement that uses words such as fast, easy or adequate cannot be tested. It is restated with a measure, a condition and a person or system that performs it.
Assumptions
- The people who hold the need are identified and available to confirm the wording.
- Scope is stated, so that each requirement is either inside or outside the change.
- Changes to requirements pass through an agreed control, so that tests and designs stay aligned.
Who uses it
- Business analysts elicit needs, write requirements, check them with the people affected and keep the traceability links.
- Product owners turn requirements into prioritised backlog items and decide which ones are built first.
- Testers derive test cases from each requirement and report any that cannot be verified.
- Project and PMO analysts track delivery against agreed requirements and manage requested changes.
Common confusions
- A requirement states what is needed, not how to build it. A statement that names a database or screen layout is a design choice.
- A user story is one format for writing a requirement. Acceptance criteria add the conditions that confirm it is met.
- Non-functional requirements are not optional extras. A system can do every function and still fail if it is too slow or insecure.
- A wish list is not a requirement set. Each requirement carries a priority and an owner.