Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

📚 GuideQA и автотесты: от тест-дизайна до CIТест-дизайн · часть 1 из 3
Guide contents
Тест-дизайн
  1. QA и автотесты, часть 1: тест-дизайн — классы эквивалентности, граничные значения, чек-листы и баг-репорты
Редакция КоммитРедакция портала
commit a174671 · 19 days ago

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.

ClassExample valueWaiting
Permissible10accepted
Less than minimum0error
Above the maximum150error
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 clientAmount > 50,000 ₸Promo codeDiscount
yesnono5%
yesyesno10%
nototopromo code + 5%
nonono0%

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 00 участников · 0 гостей🔒 Rate and discuss after signing up

Comments · 0

No comments yet.Sign in to comment, rate and see all comments.