Slides 16 - Combinatorial Testing Flashcards
Weak ECT Selection Criterion (ECT - Equivalence class testing)
A set of test cases 𝑆𝑆 ⊆ 𝑇𝑇 satisfies the weak ECT criterion if it contains every representative of all equivalence classes at least once
Test every equivalence class by one representative ● 4 test cases (weak ECT) ● 288 test Cases (strong ECT)
Why Combinatorial Testing?
● Strong ECT & exhaustive testing are often infeasible
● Weak ECT & single fault assumption do not reveal interaction faults
for 𝑡𝑡 > 1
Interaction Rule
Most failures are induced by single parameter faults or by interaction of two parameters, with progressively fewer failures induced by interactions between
three or more parameters
Combinatorial Testing
A black-box test selection technique in which test cases are generated to execute specific combinations of valuesof several input parameters
Testing strength t
A test suite 𝑆 satisfies the t-wise coverage criterion if every t-wise interaction is covered by at least one test case
Conflict
A conflict is an irrelevant interaction of two or more parameter values
Conflict handling strategies
Conflict handling strategies to exclude irrelevant interactions: ● Abstract Parameter ● Sub-Models ● Replacement ● Avoidance
Robustness
Robustness describes the degree to which a system or
component can function correctly in the presence of external faults.
Masking Effect
The input masking effect is an effect that prevents a test case from testing all combinations of input values, which the test input is normally expected to test
Negative Test Case
Semantic information is required to distinguish valid and invalid value (combinations)
(Semantische Informationen werden benötigt, um gültige und ungültige Werte (Kombinationen) zu unterscheiden)