What this lesson teaches
A condition that must hold for a feature to meet its intended user behaviour.
Where you can use it Design useful tests under agreed normal and boundary conditions.
Key terms in this lesson
- Acceptance criterion A condition that must hold for a feature to meet its intended user behaviour.
- Boundary value An input at or next to a stated limit where valid behaviour may change.
Understand the method
Write the user task and expected state before running the test. Use realistic inputs and boundary values from the rule.
Use a repeatable setup and change one tested condition so the result has a clear cause.
Test like a pro with Playwright and GitHub Copilot
Observe the point where the presenter translates a user-facing expectation into a test action and inspects its actual result.
- Try it
- A sample activity allows 1–4 guests and the test results say ‘works’ without specifics. Write a valid and invalid boundary pair. Read the Mayuge requirement. A learner can request 1–6 seats inclusive in one workshop booking.
- Check your work
- Use a repeatable setup and change one tested condition so the result has a clear cause. Check your draft against the expected result in the feedback before handing it over.
Work through the steps
- Read the Mayuge requirement. A learner can request 1–6 seats inclusive in one workshop booking.
- Create test case ID, build, input, steps and expected result fields. Include 1 seat, 6 seats and out-of-range 7 seats.
- Record accepted confirmation count under each expected successful case and unique failure messages for the rejected path.
Test the limits of the practice seat form
For the accepted range of 1 through 6, what should the user see at each limit?
| Input | Recorded expected result |
|---|---|
| 0 | Reject with a text error. No confirmation. |
| 1 · TC-Q1 | Confirm exactly one seat. |
| 6 · TC-Q6 | Confirm exactly six seats. |
| 7 · TC-Q7 | Reject with a text error. No confirmation. |
Check your reading
Run the four cases and record the actual result beside each expected result. Check that the error can be read on a phone and reached with the keyboard.
Practise with limited connectivity
- Use the written case and editable working sheet offline. Draw the same decision record on paper if you cannot use a local booking demo file, Chrome responsive view and a test-case spreadsheet.
Practice files included with enrolment
Save a private copy and use the supplied records as you work through each module.
- Editable worked records for Mayuge Workshop Booking Lab
- Editable Software Testing for Beginners simulation pack
- Open the booking test in your browser