____________ criterion requires that every point of entry and

criterion-requires-that-every-point-of-entry-and

____________ criterion requires that every point of entry and exit in the program has been invoked at least once.

A. Function coverage

B. Statement coverage

C. Decision coverage

D. Condition coverage

I had been asked this question during a job interview.

I’m obligated to ask this question of Stubbing the Connection topic in chapter Coarse-grained Testing with Stubs of JUnit

Correct answer is C. Decision coverage

For explanation I would say: Decision coverage requires that every decision in the program has taken on all possible outcomes at least once.