Question 6 of 10Pro Only
What is code coverage and how should you use it effectively?
Sample answer preview
Code coverage is a metric that measures how much of your code is executed by tests. It is expressed as a percentage and helps identify untested parts of your codebase. There are different types of coverage. Line coverage measures the percentage of lines executed.
line coveragebranch coveragefunction coveragethresholdCI/CD