Testing by hand
Last updated
Automated tests check what someone thought to check. The bugs that reach patients are often the ones nobody thought of. Finding those takes a person, poking at the software with curiosity and a plan. In this lesson you'll run an exploratory session on a new Pila build with a charter, the way Rina does, and see what else only people can test: whether Pila is easy to use, and whether everyone can use it.
By the end of this lesson you can
- Run an exploratory testing session from a charter, and note what you find
- Explain what usability testing with real people finds
- Do simple accessibility checks by hand
What automation misses
An automated test checks one thing someone decided to check, the same way every time. That's its strength and its limit. It can't notice that the reply text is confusing, that a feature behaves strangely in a case nobody imagined, or that the counter page is hard to read in bright morning light.
Exploratory testing fills that gap. James Bach describes it as learning about the software, designing tests and running them all at the same time: each result suggests the next thing to try. It isn't random clicking. It's a skilled tester following their curiosity, with a purpose and a time limit.
Charters and sessions
Elisabeth Hendrickson's book Explore It! gives a simple shape for that purpose, the charter:
| Part | Says | Example |
|---|---|---|
| Explore… | the target: a feature or area | the cancel feature |
| with… | the resources: data, tools, situations | unusual texts and a busy morning |
| to discover… | what information you’re after | what happens to everyone else’s number |
A session is a stretch of uninterrupted exploring against one charter, often 30 to 90 minutes, with notes kept as you go: what you tried, what you found, questions, and ideas for next time. A short debrief afterwards turns the notes into bug reports, new tests and new charters.
Rina’s session
The new build has Jun's cancel feature: text CANCEL to give your number back. All its unit tests pass. Rina spends thirty minutes exploring it.
- 0:00 Charter
Your session: explore cancelling
Finish what Rina ran out of time for. The build is in the next tab, pila_build.py. The starter runs her first tries. Add your own texts below the comment: give out several numbers, cancel one properly (in capitals), then let a new phone text, and call check(q). Keep going until the helper finds something.
Why does it happen? Read take_number and cancel in the build. The next number is worked out from how many phones hold one, and cancel removes a phone, so the count goes down and a number is given out twice. No unit test tried a cancel followed by a new number. Your exploring did.
Usability and accessibility
Two more things only people can test:
- Usability. Can people do what they came to do, easily? The Nielsen Norman Group's advice is to watch real users try real tasks while a facilitator says as little as possible. Rina gives a basic phone to three lolas in the waiting room and asks them to get a number. One types the keyword with a space in it; one can't find where to read the reply. Neither is a bug in the code, and both stop a patient.
- Accessibility. Can everyone use it, including people with poor eyesight or who use a screen reader? The W3C's Web Accessibility Initiative lists easy checks anyone can do by hand: zoom the counter page to 200% and see if it still works, use it with the keyboard only, check the text contrast (lesson 4.8), and give every image a text alternative. Tools find some problems automatically; a person has to judge the rest.
Spot the trap: “the tests passed”
Jun’s cancel feature has twelve unit tests, all green. “The tests passed,” he says. “Can we release it tomorrow without Rina’s session?”
What happens if…
Check what you learned
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- James Bach: Exploratory Testing: what it is, and how to do it well
- Elisabeth Hendrickson: Explore It! (Pragmatic Bookshelf, 2013): charters: explore a target, with resources, to discover information
- Nielsen Norman Group: Usability Testing 101: watching real people try real tasks
- W3C WAI: Evaluating Web Accessibility Overview: easy checks anyone can do, and when to get an expert