Test Case Design Techniques
These are the techniques that should be followed while writing the test cases to drive the maximum test coverage.
Following are the Test Case Design Techniques:
- Error guessing.
- Equivalence partitioning.
- Boundary value analysis.
Error guessing
In this type the test engineer keeps on guessing the values based on the requirements.
Drawbacks of Error guessing:
- Minimum test coverage is not guaranteed.
- Boundary values not covered.
Equivalence partitioning
If requirement is range of values then derive the test case for one positive and two negative values.
If the requirement is set of values then derive the test case for one positive and two negative values.
If the requirement is a Boolean then drive the test case for both positive as well as negative values i.e, true as well as false condition.
While using equivalence partitioning we also use error guessing to get the maximum test coverage.
Boundary value analysis
If the input is range of values i.e, [a,b] then drive the test case as follow:
a, a+1, a-1
b, b+1, b-1
According to boundary value analysis we test for six values in which four values are positive and two are negative.
While using boundary value analysis, we also use error guessing to get the maximum test coverage.
0 Comment(s)