CSC-105

LibraryTesting with users

Testing with users

A test shows you what your docs can't: whether people with the problem can actually use what you built. You'll test your prototype every week from now on, so it's worth getting good at.

A prototype that's ready

  • The core task works from start to finish on a phone.
  • It looks real: a name, a style, and sample data that sounds like your users.
  • Hard parts are faked, such as sample data instead of a database. The experience isn't.
  • It's online. In the Studio, Put it online gives you a link your testers can open on their own phones.

Plan it in docs/tests.md

Before you meet anyone, write down:

  • Who you'll test with: people who have the problem, starting with the ones in your research.
  • The task you'll give them, as something they want to do: "Post a ride home for Thursday," not "Try the post button."
  • What success looks like, as something you could watch, with a time: "Finds a Wednesday ride in under a minute, without help." Not "They like it" or "It has a search."
  • What you want to learn: the one or two questions this test should answer.

Run it

  1. Tell them you're testing the app, not them, and that confusion is useful.
  2. Give them the task, then stay quiet. Ask them to think out loud.
  3. Don't explain, point or fix. If they're truly stuck, ask "What would you try?"
  4. When they're done, ask two or three questions about what happened and what they really do: What was hardest? What did you expect to happen? The last time you had this problem, what did you do? Skip "Would you use this?": people are kind about the future, so their answers tell you little.
  5. Thank them, and write it down right away.

Write down what happened

Add each test to docs/tests.md, in your own words and theirs. Your agent can set up the page for you, but it never writes what your testers did.

## Maya, October 29

**Task:** post a ride home for Thursday. **Success:** posted in under two minutes, without help.

- Found the form right away, then looked for a "when" field and missed it.
- Said: "Wait, how do people know I'm the driver?"
- Finished the task in about two minutes, after one hint.

**What I learned:** the driver and the rider need to be different.

Turn it into a change

  1. Look across your tests for the biggest problem: the one that stopped people, or that more than one person hit.
  2. Decide what to change, and write it in docs/decisions.md, with why. If the product itself changed, update docs/project.md.
  3. Brief your agent from the docs: "Testers couldn't tell drivers from riders. I wrote it in docs/tests.md and docs/decisions.md. Change the form to match."
  4. Test again. The next person tells you whether the change worked.