Part 2: W04-2 Functional Testing Flashcards

1
Q

What is the Test Selection Problem?

A

Selecting a set of tests to reveal all failures in program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some test generation techniques?

A
  1. Equivalent Partitioning
  2. Boundary Value Analysis
  3. Decision Tables
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the steps of equivalence partitioning?

A
  1. Start with set of all behaviours of system
  2. Identify behaviours that adhere to quality requirement
  3. Split behaviours into disjoint subdomains by quality requirements
  4. Assume subdomain has same behaviour on all inputs
  5. Make a tests using inputs from each subdomain (equivalence class)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the objectives of equivalence partitioning?

A
  • coverage completeness

- avoiding redundant tests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the testing strategies?

Explain using
inputs: A,B,C
and states: A1,A2,A3,B1,B2,B3,B4,C1,C2

A

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

  1. Robust selection strategy - split inputs into valid and invalid / test inputs on both sides of edge
  2. Normal - teset all classes of valid values
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the effectiveness equation for equivalence testing?

A

effectiveness = # failures exposed by tests / total # of existing failures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly