The takeaway order that went wrong
You order a pizza in an app. It arrives, but it is cold and an hour late. The app did take your order. So did it work?
It did what you asked, but not how well you wanted. Good software needs both. Today you write both kinds of need for Netheret, as a list a team can build from.
Key words
| Word | What it means | Example |
|---|---|---|
| Requirement | Something the app must do or be. | |
| Functional requirement | What the app does. | A customer can raise a request |
| Non-functional requirement | How well the app works. | Each page loads in under 2 seconds |
| User story | A requirement written as who wants what, and why. | |
| Epic | A big area of work, made of several user stories. | |
| Accessibility | Making an app usable by people with extra needs. | |
| MoSCoW | Sorting needs into Must, Should, Could and Won't have. |
The cells students fill in are left blank in this preview.
By the end of this lesson
Note
I can write Netheret's requirements as user stories grouped into epics.
Starter: last lesson
Have a go
Starter: last lesson
4 questionsTwo kinds of requirement
A functional requirement says what the app does. For example, a Tier 1 agent can escalate a request to Tier 2. To escalate is to pass a request up to a more expert tier.
A non-functional requirement says how well it works: how fast, how safe, how easy to use.
Make every requirement measurable. "Fast" cannot be checked. "Loads in under 2 seconds" can.
Worked example: non-functional requirements
| Area | Non-functional requirement for Netheret |
|---|---|
| Speed | Each page loads in under 2 seconds with 50 open requests. |
| Devices | Every page works on a phone, a tablet and a desktop. |
| Access for all | Every page can be used with a keyboard alone, and text can be made larger. |
| Security | Passwords are stored hashed. A customer sees only their own company's requests. |
| Law | Personal data (facts about a living person) follows UK GDPR (the UK data protection law). There is a privacy notice. |
The cells students fill in are left blank in this preview.
Functional or non-functional?
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
A user story says who, what and why
Many software teams write functional requirements as user stories. Each one follows a pattern:
"As a role, I want something, so that a reason."
The role comes from the people table you made last lesson. The reason stops you building things nobody needs. Related stories are grouped into an epic. All the epics together make the product backlog.
The six epics of the Netheret backlog
| Epic | What it covers |
|---|---|
| E1 Accounts and access | Sign in, roles, sign out. Customers see only their own company's requests. |
| E2 Support requests | Raise, triage, assign, escalate a tier, update status, the timeline, updates customers can see. |
| E3 On-site jobs | Schedule a job, assign an engineer, the job brief, my schedule, mark progress. |
| E4 Knowledge base | Search, read and write articles. Mark an article as helpful. |
| E5 Insights | Reports of KPIs (numbers that show performance) with charts. |
| E6 Accessibility and quality | Text size, contrast, keyboard use, clear errors. Security, the law and a privacy notice. |
The cells students fill in are left blank in this preview.
Check: user stories and epics
Have a go
Check: user stories and epics
3 questionsWorked example: the stories of epic E2
| Id | User story | MoSCoW |
|---|---|---|
| E2.1 | As a customer, I want to raise a request, so that Netheret knows my problem. | Must |
| E2.2 | As a Tier 1 agent, I want to triage new requests by priority, so that urgent ones are seen first. | Must |
| E2.3 | As a manager, I want to assign a request to a member of staff, so that someone owns it. | Must |
| E2.4 | As a Tier 1 agent, I want to escalate a request to Tier 2 or 3, so that experts take hard problems. | Must |
| E2.5 | As staff, I want to change a request's status, so that everyone knows where it is. | Must |
| E2.6 | As staff, I want to add updates to a timeline, so that the history is in one place. | Should |
| E2.7 | As a customer, I want to see updates meant for me, so that I know what is happening. | Must |
The cells students fill in are left blank in this preview.
A common mistake
Warning
Many students write a technical job as a user story: "As a developer, I want a tickets table." That is a task, not a story. A story is about a user of the app and what they gain. Tables and code come later, when the team plans how to build each story.
Check: is it a good story?
Have a go
Check: is it a good story?
3 questionsYour turn: write the backlog
Write the Netheret product backlog. Use the six epics E1 to E6 from the lesson, with these names. Under each epic, write its user stories in the pattern "As a ..., I want ..., so that ...". Give each an id such as E3.2 and a MoSCoW label. Cover every item in the epics table: for example E3 needs schedule, assign engineer, job brief, my schedule and mark progress. Then write five non-functional requirements, each one measurable.
A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.
Make a free account to save your work, or press Start lab to work through the whole lesson.
Exit quiz
Have a go