Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Equivalent Class Division of Black Box testing

Shulou Source: shulou.com Published: 2022-06-03 07:07:22 10月05日 Update

Equivalent class division:

Divide all possible input data, that is, the input field of the program, into several parts (subsets), and then select a small number of representative data from each subset as test cases.

Criteria for dividing equivalence classes:

1. The union of all subsets is the whole set

2. Subsets do not intersect each other

3. Different test cases in the same subset are treated the same, that is, there is "the same execution path".

Two different equivalence classes:

(1) effective equivalence class: a set of reasonable and meaningful input data for the specification of the program.

(2) invalid equivalence class: a collection of unreasonable and meaningless input data for the specification of the program.

Tags: Equivalence subset data input program test different same specification unreasonable valid representative representative standard path part processing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Docker NVidia MySQL Redmi