Course outline
Cedar Books: the practice shop for testers
A small online bookshop with bugs planted on purpose. Test it by hand, through its API, or with QAIA.
Reading about testing is the start; testing a real site is how the skill sticks. Cedar Books is a small online bookshop built for exactly that. It sells made-up books, takes made-up payments, and has 26 bugs planted on purpose: some you find by clicking, some only through its API, some only with a keyboard or a screen reader.
It is the same shop the Academy's templates describe: release 2.4, with its coupon codes and its one-page checkout. The test plan, the test cases and the bug reports in those files talk about the site you can open below, so you can compare your own work with a finished example.
Everything you change lives in a private copy of the shop that belongs to you alone and ends two hours after you start. Nothing you do there can reach another learner, and nothing they do can reach you.
What you can test
- Search with filters, three ways of sorting and paging, and a page for every book with its reviews.
- A basket with quantities, a coupon field and a delivery charge that changes with the total.
- A one-page checkout that takes three test cards: one that pays, one that is declined and one whose bank is slow.
- Sign-in for two demo shoppers, their order history, and a mailbox page where order confirmations land (nothing is ever emailed).
- A JSON API for all of it, described in an OpenAPI 3.1 document, with a cURL example for every call.
The requirements
A bug is a difference between what the product does and what it should do. These are the requirements of release 2.4: when the shop behaves differently, you have found something. Quote the requirement in your bug report.
| ID | Area | Requirement |
|---|---|---|
| REQ-01 | Sign-in | A shopper signs in with an email address and a password. A wrong email and a wrong password show the same message and no account data. |
| REQ-02 | Search | Search by title, author or ISBN finds every matching book; accents are ignored ("Zahle" finds "Zahlé"); an ISBN returns exactly one book. |
| REQ-03 | Coupons | One coupon code at checkout. A valid code lowers the total once; a second code replaces the first. |
| REQ-04 | Basket | The basket adds, changes and removes books. Each line is the price times the quantity, rounded half up to two decimals. |
| REQ-05 | Basket | The quantity of one book is 1 to 10, and never above the stock ("Only 3 left"). |
| REQ-06 | Coupons | Expired, used-up and malformed codes are refused with a clear message, for example "This code expired on 31 Dec 2024". |
| REQ-07 | Checkout | One-page checkout with a test card. A declined card shows an error and creates no order. A slow bank shows a message after 10 seconds, never a blank page. |
| REQ-08 | Orders | Each order leaves a confirmation in the shop's mailbox with the order number and the total paid after any discount. |
| REQ-09 | Delivery | Delivery costs 3.50 and is free when the books cost 30.00 or more before any coupon (30.00 included). |
| REQ-10 | Search | Search results show 12 books a page, sorted by relevance, price (both ways) or newest; no book appears on two pages. |
| REQ-11 | Reviews | A signed-in shopper rates a book 1 to 5 stars, with an optional comment of up to 500 characters. |
| REQ-12 | Orders | A shopper sees only their own orders. |
| REQ-13 | API | The API answers with the status codes and JSON shapes of its OpenAPI document. |
| NFR-01 | Performance | Search answers within 2 seconds, and each page's largest content is drawn within 2.5 seconds on a mid-range phone. |
| NFR-02 | Accessibility | WCAG 2.2 level AA: every page works with a keyboard and with a screen reader. |
| NFR-03 | Security | An account locks for 15 minutes after 5 failed sign-ins. |
| NFR-04 | Reliability | No JavaScript errors appear in the browser console during normal use. |
| NFR-05 | Layout | Every page works on a screen 320 pixels wide. |
What kinds of bugs are planted
There are 26 in all. Here is how many of each kind, and where to look, without giving any away. Each lab shows its own planted bugs to signed-in learners once they have tried it.
- Functional: 8search, coupons, checkout and orders
- Boundary values: 3quantities, delivery and ratings
- Calculation: 1the basket
- Security: 3sign-in and orders, on made-up data only
- API: 4answers that differ from the OpenAPI document
- Accessibility: 4keyboard and screen-reader use
- Performance: 1one page that is slow to draw
- Console errors: 1the browser console
- Layout: 1small screens
Accounts, coupons and test cards
Demo shoppers
shopper.one@cedarbooks.exampleshopper.two@cedarbooks.example
Password for both: Shop!2026
Coupon codes
CEDAR10: 10% off the booksWELCOME5: 5.00 off a basket of 25.00 or more, once per accountEXPIRED24: a code that ended on 31 Dec 2024SPRING25: a code that has been used up
Test cards
4242 4242 4242 4242: approved4000 0000 0000 0002: declined4000 0000 0000 0119: a slow bank
The shop asks only for the card number, and refuses every other number.
The rules of the shop
- Use made-up details only. Never type a real name, address, password or card number: the shop refuses real card numbers anyway.
- Your copy of the shop starts empty except for the demo shoppers and their two earlier orders, and it is gone after two hours.
- Test as hard as you like, by hand or with tools, but gently: very fast scripts are slowed down so every learner gets a turn.
- The shop's pages are hidden from search engines. This page is the one to share.
Where to start
Start with an exploratory session on the checkout: give yourself 45 minutes, write down what you try, and note every surprise against the requirements above. Then design test cases with the techniques of the test design lesson, and write up what you find as you learn in defect management.
The labs walk you through ten exercises on Cedar Books, four by hand and six with QAIA, and show you the planted bugs each one is about once you are signed in.