Manual Testing (IT)Tester (Manual QA Engineer)

What is test design and what are its main techniques?

Pass interviews with Hintsage AI assistant

Answer.

Test design is the process of developing test scenarios and data based on requirements, specifications, and product analysis. It arose from the need to structure tests in a way that ensures maximum coverage and minimizes effort duplication.

History of the issue:

Previously, tests were created intuitively, leading to gaps in checks and inefficient resource utilization. Test design methods have allowed for an increase in quality and completeness of coverage.

Problem:

Without formalized techniques, there is a risk of going through similar tests or, conversely, missing critical cases. It is also difficult to prove the sufficiency of testing before release.

Solution:

Implementing test design techniques allows for rational resource allocation, prioritization of checks, and monitoring of coverage. Key techniques include:

  • Equivalence partitioning (dividing input data into equivalence classes — each class is tested by one test)
  • Boundary value analysis (testing at the edges of ranges where errors are most likely to occur)
  • Cause and effect table (formalizing logic transitions and conditions)
  • Pairwise testing (covering all possible pairs of input parameters)

Key features:

  • Rational coverage of input data
  • Prevention of test case duplication
  • Documentation of processes

Tricky questions.

Is it sufficient to test only at boundary values for complete coverage?

No, positive/negative scenarios, business logic checks, and non-equivalent cases also need to be considered.

In which cases is it better to use pairwise rather than equivalence partitioning?

When there are several parameters with different ranges of values — pairwise is more effective at identifying interaction errors between parameters.

Is testing on outdated specifications sufficient?

No, specifications must be updated; otherwise, test coverage will not correspond to the current product.

Typical mistakes and anti-patterns

  • Checking only "by eye" through the interface without applying techniques
  • Missing edge cases
  • Duplicating tests without coverage analysis

Real-life example

Negative case

Testing the "Age" field only took 18, 25, and 40 years, while critical errors at the boundaries (0, 100) were not identified until release.

Pros:

  • Fast test preparation

Cons:

  • Missing important boundary cases
  • Critical bugs went into production

Positive case

Used equivalence class and boundary value methods: tests covered 0, 1, 17, 18, 99, 100, 101, as well as typical values within the range.

Pros:

  • Maximum coverage
  • Simplicity of release acceptance argumentation

Cons:

  • Time costs for analysis and test preparation