Flaky Test Management and Test Reliability Questions

Detecting, isolating, and eliminating non-deterministic tests. Covers root-causing flakiness, quarantine and remediation systems, distinguishing product bugs from test bugs, and maintaining suite health over time. Emphasizes keeping automated suites trustworthy so failures mean something.

MediumTechnical
78 practiced

Describe a concrete instrumentation plan to collect runtime telemetry for flaky test diagnosis. Specify which signals you would collect (e.g., CPU, memory, thread counts, network latency, container restarts), sampling rates, correlation keys (run-id, test-id, commit), and storage/retention guidelines suitable for millions of runs.

MediumSystem Design
59 practiced

Design an automated quarantine system that integrates with CI and your issue tracker. Requirements: detect tests above a flakiness threshold, tag them as 'quarantined' in the test registry, open an issue with diagnostic artifacts, notify owner(s), and automatically re-evaluate removal after a configurable period or on improvement. Describe system components, data flows, APIs, failure modes, and how to avoid noisy or oscillating quarantines.

MediumSystem Design
65 practiced

Design a flaky-test dashboard and tracking system for a company running ~3,000 automated tests across distributed CI runners with ~1,000 builds/day. Describe: the event ingestion model, minimal data schema for test result events, flakiness metrics (per-test flakiness rate, pass-after-retry rate), alerting thresholds, UI views, and how to deduplicate and attribute failures to tests vs infrastructure.

HardTechnical
80 practiced

Discuss the tradeoffs between 'time-traveling' test doubles (record/replay mocks or deterministic replays of historical interactions) and deterministic fixtures (controlled test data and state) for reproducing intermittent failures in stateful systems. Propose a combined approach that helps reproduce failures reliably without making tests brittle, and describe tooling or processes to support it.

EasyTechnical
63 practiced

Explain key behavioral differences between mobile emulators/simulators and real devices that cause automated mobile tests to pass on emulators but fail on physical devices. List at least six differences (e.g., sensors, GPU, manufacturer OS customizations, WebView versions, network variability, hardware performance) and say how to mitigate them in a test strategy.

Unlock Full Question Bank

Get access to all Flaky Test Management and Test Reliability interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.