Part 2: W06-2 Structural Testing Flashcards

1
Q

What is a Control Flow Graph?

A

A directed labeled graph representing the flow of a program.

Each node is a statement or group of statements.

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

What coverage types exist for Structural testing?

A
  1. Statement coverage - each statement is executed
  2. Edge/condition coverage - each condition is tried
  3. Path coverage - each combination of conditions is tried
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a DD-Path Graph?

A

Basically Control Flow Graph simplified. (Long chains squashed to a single node)

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

Apart from standard statement, edge/condition, and path coverage, what other coverage types can exist?

A
  1. Decision coverage - similar to condition coverage
  2. Function coverage
  3. Call coverage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly