Concept: Flaky Tests
Concept Check Medium
Question
What is a 'flaky' test?
Hint
Flaky = inconsistent results.
Explanation
A flaky test is one that sometimes passes and sometimes fails without any code changes — the same test produces different results on different runs. Flaky tests are usually caused by timing issues, shared state, random data, network dependencies, or race conditions. They erode trust in the test suite and should be fixed or quarantined immediately.
Related Resources
Related Lessons
- E2E Testing
End-to-end testing overview.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.