|
What are the test case writing techs (Boundary value analysis and equalence class part)?
Black-Box Test Case Selection: Equivalence Partitioning
Because exhaustive black-box testing is infeasible, black-box test cases must be chosen to find different faults if possible.
We can usually assume that similar inputs will evoke similar responses, allowing us to group inputs into equivalence classes.
In equivalence partitioning, only one or a few test cases are chosen to represent an entire equivalence class.
Equivalence Classes
Input data should be divided into equivalence classes based on consideration of:
valid vs. invalid input values
valid vs. invalid output values
similarity and difference of input values
similarity and difference of output values
similarity and difference of expected processing
Notes:
Examples of equivalence classes:
negative, positive, and 0 inputs or outputs;
input or output strings within size limits, beyond size limits, and the empty string;
input or output numeric values within size limits and beyond size limits;
input files that exist or not, are readable or not, are correct or not;
output files that exist or not, are writable or not;
combinations of input values that are consistent, and combinations that are not consistent. |
|