1. Concept
Black box test: The functional design specifications of a known product can be tested to verify that each implemented function meets the requirements.
White Box testing: The internal working process of a known product can be tested to prove that each internal operation complies with the design specifications and that all internal components are inspected.
2. Methods
Black box test methods: Equivalence class partitioning method, boundary value analysis method, error inference method, causality diagram method, decision table driving method, orthogonal test design method, function diagram method, scene method and so on.
White Box test methods: Logical coverage, path coverage, code checking, static structure analysis, static quality measurement, basic path testing, domain measurement, symbolic testing and program variation.
(The logical overlay is divided into: statement coverage (SC): Design enough test cases to ensure that each statement is executed.)
Decision Coverage (DC): Design enough test cases to ensure that each decision takes true and false values, respectively.
Conditional override (CC): Design enough test cases to ensure that each condition takes true and false values, respectively. (A decision may contain multiple conditions)
Decision/Conditional Coverage (DCC): Design enough test cases to ensure that each decision and condition is taken with true and false values.
Conditional composition overrides (CMC): Design enough test cases to ensure that all combinations of conditions in each decision are covered. (only consider the combination of conditions within the same decision)
)
Black box test and white box test