Testing · Middle · Question 37 of 75

What does branch coverage measure that line coverage misses?

const fee = isVip ? 0 : 10;

Explanation

Branch coverage is a stricter signal for logic-heavy code.

Further reading

Problem with a question

Testing · Middle · question 37

Test yourself

Take the Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz