Module 6 · Business Analysis Fundamentals
Writing requirements
Write requirements that can be built and tested, separate functional and non-functional requirements from business rules, and prioritise with MoSCoW.
About 25 minutes
The problem
The first requirements list for Ashgrove's billing change came back from a workshop looking like this:
- The system should be user-friendly.
- Invoices should be sent quickly.
- It should integrate with everything.
- Reports should be good.
Every line sounds reasonable, and none of them can be built or tested. How quick is "quickly"? What's "everything"? A supplier could deliver almost anything and claim to meet them, and the firm would have no way to object. Vague requirements are how projects end in arguments.
A story from the field: "the system should be fast"
A fintech startup in Lagos hired a contractor to build a loan-repayment dashboard. The requirements document said: "The system should be fast and user-friendly." Everyone signed it.
Three months later the contractor delivered. The finance lead opened the dashboard, waited eleven seconds for the first screen to load, and said, "This is not fast." The contractor said it loaded in under twelve seconds, which on his test server was very quick, and it was exactly what had been asked for. Neither of them was lying. The word "fast" meant different things to each of them.
The argument took six weeks, a second payment and a damaged relationship. It all came from a single sentence nobody had made specific.
A better requirement would have read: "The dashboard shall show the repayment summary within 3 seconds of login, for up to 500 concurrent users, on a standard office connection." That sentence is different in an important way: anyone can test it. Either the summary appears in 3 seconds or it does not.
The analyst's rule is simple. If you cannot test a requirement, it is not a requirement yet. Words like fast, easy, flexible, secure and user-friendly are wishes. The analyst's job is to turn each wish into something with a number, a condition or an example.
The concept
Types of requirement
| Type | Says | Example for Ashgrove |
|---|---|---|
| Business requirement | the goal, in business terms | Reduce average days to pay from 45 to 30 within 12 months. |
| Functional requirement | what the solution must do | The system shall show a due date on every invoice. |
| Non-functional requirement | how well it must do it: speed, security, availability, usability | The overdue report shall load in under 5 seconds. |
| Business rule | a policy that applies whatever the solution | Invoices are due 30 days after issue. Reminders are not sent to clients on a payment plan. |
Good requirements are testable
A requirement is good when someone could write a test that it passes or fails. Check each one against these questions:
- Specific: one requirement per statement, with no "and/or" bundles.
- Measurable: numbers instead of "quickly", "easily" or "good".
- Unambiguous: two readers would build the same thing.
- Solution-free where possible: say what is needed, not how to build it.
- Traceable: linked to the business requirement it serves.
Use "shall" (or "must") for requirements, and keep each one short.
MoSCoW prioritisation
Not everything can be in the first release. MoSCoW sorts requirements into:
- Must have: without it, the solution fails its purpose.
- Should have: important, but there's a workaround for now.
- Could have: nice if time allows.
- Won't have (this time): agreed to be out of scope, for now.
The test for a Must: "If this isn't delivered, would we still go live?" If the answer is yes, it isn't a Must. A list where everything is a Must hasn't been prioritised.
Example
The workshop's vague lines, rewritten:
| Vague | Testable |
|---|---|
| Invoices should be sent quickly. | Invoices shall be issued within 5 working days of the end of each month. |
| It should be user-friendly. | The accounts officer shall be able to produce a month's invoices in under 2 hours after one training session. |
| It should integrate with everything. | The system shall import payments from the bank's CSV statement. |
| Reports should be good. | A report shall list every unpaid invoice past its due date, with client, amount and days overdue, sortable by each column. |
Each rewrite can be tested: time it, count it, or check the report against the data.
A real-world scenario: rewriting vague requirements
A project team for an online pharmacy hands you four requirements. Your job is to make each one clear and testable.
| Vague requirement | Why it fails | Rewritten requirement |
|---|---|---|
| "The website should be fast." | Fast for whom? Measured how? | "The product page shall load in under 3 seconds on a 4G connection." |
| "Customers can easily find drugs." | Easy is a feeling | "A customer shall be able to find a drug by typing any part of its name and see results within 2 seconds." |
| "The system must be secure." | Secure against what? | "Customer passwords shall be stored encrypted, and accounts shall lock for 15 minutes after 5 wrong attempts." |
| "Orders should be processed quickly." | How quickly, from when? | "An order shall be shown to the pharmacist within 1 minute of payment confirmation." |
Notice the pattern. Each rewrite has three parts:
- Who or what is doing something (the page, the customer, the system).
- A measurable condition (under 3 seconds, within 1 minute, after 5 attempts).
- A context (on 4G, after payment confirmation).
A quick test for any requirement: could a tester, who has never met you, decide pass or fail from the sentence alone? If not, rewrite it.
Also watch for these traps:
- Two requirements in one sentence ("must be fast and secure") should be split so each can be tested.
- Solutions disguised as requirements ("use a database called X") should be rewritten as the need behind them.
- Missing exceptions: what should happen when something goes wrong?
Walkthrough
- Sort Ashgrove's needs from your interviews into business requirements, functional, non-functional and business rules.
- Rewrite every vague statement until it passes the testability questions.
- Give each requirement an ID (FR-01, NFR-01, BR-01) and link each to the business requirement it serves.
- Run a MoSCoW session with the managing partner and the accounts officer. Challenge every Must with "would we still go live without it?".
- Record the Won't haves too, with the reason. It stops them reappearing as surprise demands later.
Practice
Task
8 minRewrite these four vague requirements as testable ones, one per line, each using shall and including a number or a precise condition:
- Reminders should go out in good time.
- The overdue report should be fast.
- Only the right people should see client billing.
- It should be easy to record time.
Your work is checked for
- Four requirements, each on its own line using 'shall' or 'must'
- At least three include a number (a time, a count or a limit)
- No vague words left (good time, fast, easy, user-friendly, quickly, right people)
- The access requirement names roles
Task
6 minPrioritise these Ashgrove requirements with MoSCoW. Write one per line in the form Requirement | Must, Should, Could or Won't | reason: due dates on invoices; automatic email reminders; a client payment portal with card payments; an overdue report; importing bank payments automatically; a mobile app for lawyers.
Your work is checked for
- Six lines in the form Requirement | priority | reason
- At least one Won't (have this time)
- Not everything is a Must: at most three Musts
- Due dates are a Must (nothing can be overdue without them)
Check your understanding
Answer every question to check.