Question - Explain the different types of specification-based test design techniques?
Answer -
Specification-based test design techniques are also referred to as black-box testing. It involves testing based on the specification of the system under test without knowing its internal architecture. The different types of specification-based test design or black box testing techniques are-
- Equivalence partitioning – Grouping test data into logical groups or equivalence classes with the assumption that all the data items lying in the classes will have the same effect on the application.
- Boundary value analysis – Testing using the boundary values of the equivalence classes taken as the test input.
- Decision tables – Testing using decision tables showing the application’s behavior based on a different combination of input values.
- Cause-effect graph – Testing using a graphical representation of the result or outcome and all the factors that affect the outcome.
- State transition testing – Testing based on the state machine model.
- Use case testing – Testing carried out using use cases.