InterviewSolution
Saved Bookmarks
| 1. |
What is meant by Code Coverage? |
|
Answer» Code coverage is one of the IMPORTANT testing metrics. It INDICATES the ratio of the codebase under unit tests to the entire codebase. Code coverage of 50% means that the unit tests cover half of the codebase. It is crucial to keep in mind that 100% code coverage doesn’t mean that the software is error-free or there are no bugs. It just means that the unit tests cover all the code. However, it’s still possible that the tests don’t test all branches that code COULD TAKE or the problems with business LOGIC execution. |
|