|
INTERVIEW QUESTIONS
TESTING GLOSSARY
CODE COVERAGE
DETAILS
Question: What are the limitations of Code Coverage?
Answer: Code Coverage is not a "silver bullet" of software quality, and 100% coverage is no guarantee of a bug free application. You can infer a certain level of quality in your tests based on their coverage, but you still need to be writing meaningful tests. As with any metric, developers and project management should be careful not to over-emphasize coverage, because this can drive developers to write unit tests that just increase coverage, at the cost of actually testing the application meaningfully.
|
|
|
Category |
Code Coverage Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9841 users |
Added on |
3/18/2013 |
Views |
67794 |
Rate it! |
|
|
Question:
What are the limitations of Code Coverage?
Answer:
Code Coverage is not a "silver bullet" of software quality, and 100% coverage is no guarantee of a bug free application. You can infer a certain level of quality in your tests based on their coverage, but you still need to be writing meaningful tests. As with any metric, developers and project management should be careful not to over-emphasize coverage, because this can drive developers to write unit tests that just increase coverage, at the cost of actually testing the application meaningfully. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is Code Coverage Analysis?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Code Coverage Interview Questions & Answers - Exam Mode /
Learning Mode
|