Which testing ensures that all part of the code is executed once?
-
Statement Coverage
-
Path Coverage
-
Branch Coverage
-
None of the Above
A
Correct answer
Explanation
Statement coverage is a white-box testing metric that ensures every executable statement in the code is executed at least once during testing. It's the most basic form of code coverage, measuring what percentage of statements have been executed by the test suite.