1.

A combination of function coverage and branch coverage is sometimes also called _______________(a) Function coverage(b) Statement coverage(c) Decision coverage(d) Condition coverageThis question was addressed to me in an interview for job.My query is from Stubbing the Connection in portion Coarse-grained Testing with Stubs of JUnit

Answer»

The CORRECT choice is (c) Decision coverage

Easy explanation: In decision coverage, both ASPECTS of function coverage and BRANCH is USED to COMPLETE code coverage.



Discussion

No Comment Found

Related InterviewSolutions