1.

____________ 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 coverageI 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

Answer»

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.



Discussion

No Comment Found

Related InterviewSolutions