A 'flaky test' is a test that
APasses and fails inconsistently on same code
BAlways fails on every test run consistently
CAlways passes on every test run reliably
DCannot be executed without a paid licence
Answer & Solution
Correct answer: A. Passes and fails inconsistently on same code
Flaky tests intermittently fail without code change, eroding trust in CI signals. Root causes: race conditions, timing assumptions, external dependencies, test order coupling. Treatment: quarantine, debug, fix or delete.
Related questions
In Scrum, the 'Definition of Done' (DoD) typically includesTest pyramid (Mike Cohn) advocates forBehaviour-driven development (BDD) tools commonly usePerformance testing in general is BROADER than load testing because it includesAccessibility testing primarily ensures thatPenetration testing is a form ofMutation testing measures the effectiveness ofExploratory testing is BEST described as