Bird
0
0

You need to write test cases for a feature that filters products by price range. Which test case best covers an edge case?

hard📝 Application Q8 of 15
Testing Fundamentals - Test Documentation
You need to write test cases for a feature that filters products by price range. Which test case best covers an edge case?
AFilter products with price range $0 to $0.
BFilter products with price range $10 to $100.
CFilter products with price range $50 to $150.
DFilter products with price range $20 to $80.
Step-by-Step Solution
Solution:
  1. Step 1: Understand edge cases in filtering and identify the best option

    Edge cases test unusual or boundary inputs like zero range. Price range $0 to $0 is an unusual boundary case.
  2. Final Answer:

    Filter products with price range $0 to $0. -> Option A
  3. Quick Check:

    Edge case = Boundary or unusual input [OK]
Quick Trick: Test boundaries and unusual inputs for edge cases [OK]
Common Mistakes:
  • Choosing normal ranges as edge cases
  • Ignoring zero or negative values
  • Missing boundary value tests

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes