1/13
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is a fault?
static defect in code
What is an error?
wrong internal state caused by a fault
What is a failure?
wrong external state, intended output ≠ actual output
How to NOT execute a fault?
make intended output = actual output even though code is not correct
How to execute fault, NOT error?
make intended output = actual output using wrong formulaH
How to execute error, NOT fault?
incorrect state not used
fault corrected before being used for output
fault sets a wrong value but it’s not used
Program State
input
expected output
actual output
first error state
all variables and their values
program counter
Partition
block of members that all behave the same way
Disjointness property
blocks must NOT overlap
Completeness property
blocks must cover the entire domain
Pairwise Testing
come up with every possible combination of those two parameters
Combination formula
values^params
IPO (In Parameter Order) Strategy
generate pairwise test for first 2 parameters, then pairwise test for first 3 parameters, and so on