
QA and Autotests, Part 1: Test Design — Equivalence Classes, Boundaries, Checklists, and Bug Reports
🌐 Machine-translated from Russian. Show original
In this part:
Why test design#
It is impossible to check "all options." Test design is a way to select a minimal set of checks that finds the maximum number of errors.
Equivalence classes#
The input data is divided into groups, within which the system behaves the same. One value from each group is sufficient.
Example: field "Quantity of goods", allowed 1–99.
| Class | Example value | Waiting |
|---|---|---|
| Permissible | 10 | accepted |
| Less than minimum | 0 | error |
| Above the maximum | 150 | error |
| Not the number | "abc" | error |
| Empty | — | error or default value |
Boundary values#
Errors like boundaries: < instead of <=. For the range 1–99, check 0, 1, 2 , and 98, 99, 100.
Decision tables#
When the result depends on a combination of conditions:
| New client | Amount > 50,000 ₸ | Promo code | Discount |
|---|---|---|---|
| yes | no | no | 5% |
| yes | yes | no | 10% |
| no | to | to | promo code + 5% |
| no | no | no | 0% |
Each row is a test. The table also identifies combinations not described in the requirements.
Checklists and test cases#
- Checklist — checklist without detailed steps. Fast, flexible, good for an experienced team.
- Test case — steps, data, expected result. Needed for complex scenarios, regression, and transfer to others.
Do not write test cases for reporting: document what is being rechecked.
What to check besides the "happy journey"#
- Access rights: can the user see someone else's data (secure development);
- empty states, long lines, emoji, Cyrillic, and Kazakh letters;
- double-click and resubmit the form;
- slow network and connection breakage;
- mobile version and various browsers.
Bug report that will be fixed quickly#
- Headline: what's broken and where — "Payment: double charge when you click 'Pay' again."
- Numbered playback steps .
- Expected and actual result.
- Environment: version, browser, device, test data.
- Proofs: screenshot, video, logs, API response.
- Severity: how broken; priority — how urgent.
Next comes automated API tests.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.