Equivalence partitioning is a method for deriving test cases.
- It divides the input domain into classes of data from which test cases are derived.
- It strives to define a test case that uncovers classes of errors, thereby reducing the total number of test cases that must be developed.
- Equivalence classes for an input condition is used for test case design.
- An equivalence class represents a set of valid or invalid states for input conditions.
- Input classes are known relatively early in the software process.
- An input condition is either a specific numeric value, range of values, set of related values or a boolean condition.
DEFINING EQUIVALENCE CLASSES FOR TESTING
If an input condition specifies a:
- SPECIFIES RANGE : one valid and two invalid equivalence classes are defined.
- REQUIRES SPECIFIC VALUE : one valid and two invalid equivalence classes are defined.
- SPECIFIES MEMBER OF SET : one valid and one invalid equivalence class are defined.
- BOOLEAN : one valid and one invalid equivalence class are defined.
No comments:
Post a Comment