All jobs / Frontend / web developer / Testing

Frontend / web developer interview question · 5+ years

After a bad release, management asks you to enforce 90% code coverage on the frontend repository as a merge gate.

How do you respond?

The strongest answer

Agree on the goal, fewer escaped bugs, then offer better levers: tests for changed behaviour, coverage on new code as a signal, critical flows end to end, escaped defects tracked. A hard global number invites empty tests

Why it works

Right — coverage shows what is untested, never what is well tested. Tie the practice to the failure that actually happened.

What a good answer covers

Answers that fall short

Who gets asked this

More Testing questions