Bird
0
0

Which of the following best describes a flaky test?

easy📝 Conceptual Q2 of 15
Selenium Python - Advanced Patterns
Which of the following best describes a flaky test?
AA test that always passes
BA test that is skipped intentionally
CA test that runs faster than others
DA test that fails randomly without code changes
Step-by-Step Solution
Solution:
  1. Step 1: Define flaky test

    A flaky test is one that sometimes fails and sometimes passes without any code changes.
  2. Step 2: Identify correct description

    Random failure without code changes matches flaky test behavior.
  3. Final Answer:

    A test that fails randomly without code changes -> Option D
  4. Quick Check:

    Flaky test = random failure [OK]
Quick Trick: Flaky means unpredictable pass/fail [OK]
Common Mistakes:
  • Confusing flaky with always passing
  • Thinking flaky means skipped tests
  • Assuming flaky tests run faster

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Selenium Python Quizzes