What is the Test Selection Problem?
Selecting a set of tests to reveal all failures in program
What are some test generation techniques?
What are the steps of equivalence partitioning?
What are the objectives of equivalence partitioning?
- avoiding redundant tests
What are the testing strategies?
Explain using
inputs: A,B,C
and states: A1,A2,A3,B1,B2,B3,B4,C1,C2
Fault Assumption
1. Weak equivalent class -
have at least one test with each input
# of tests is 4 because B has input domain 4
2. Strong equivalent class - try every combination of inputs
# of tests is 342 = 24
Selection
What is the effectiveness equation for equivalence testing?
effectiveness = # failures exposed by tests / total # of existing failures