Cypress · Senior · Question 37 of 76

Is gating merges on Cypress code coverage a good idea?

Show the answer

Correct answer: Use coverage to find gaps, not as a hard target

Explanation

E2E coverage is coarse. Targets encourage tests written for numbers instead of behaviour.

Further reading

Problem with a question

Cypress · Senior · question 37

Test yourself

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

Take this quiz