All jobs / Engineering manager / tech lead / Code & Development Practices

Engineering manager / tech lead interview question · 1–3 years

The test suite fails on about one run in five, and the team has learned to hit “re-run”.

What is your policy?

The strongest answer

Treat a flaky test as a broken test: take it out of the blocking suite with a ticket, an owner and a date, fix it or delete it, and keep the quarantine list visible

Why it works

Exactly — out of the blocking path, owned and dated, with the list visible so it cannot quietly grow.

What a good answer covers

Answers that fall short

Who gets asked this

More Code & Development Practices questions