Bird
Raised Fist0

A form accepts dates from January 1, 2020 to December 31, 2020. How can equivalence partitioning be combined with boundary value analysis for testing?

hard🚀 Application Q9 of Q15
Testing Fundamentals - Functional Testing Techniques
A form accepts dates from January 1, 2020 to December 31, 2020. How can equivalence partitioning be combined with boundary value analysis for testing?
AIgnore boundary dates and test mid-year dates only
BTest only random dates within the year
CTest only invalid dates outside the year
DCreate partitions for valid dates and invalid dates, then test boundary dates like Jan 1 and Dec 31
Step-by-Step Solution
Solution:
  1. Step 1: Define equivalence partitions

    Partition inputs into valid dates (within 2020) and invalid dates (outside 2020).
  2. Step 2: Apply boundary value analysis

    Test boundary dates like January 1 and December 31 to check edge behavior.
  3. Final Answer:

    Create partitions for valid dates and invalid dates, then test boundary dates like Jan 1 and Dec 31 -> Option D
  4. Quick Check:

    Combine partitions with boundary tests for thorough coverage [OK]
Quick Trick: Use partitions plus boundary values for better tests [OK]
Common Mistakes:
MISTAKES
  • Ignoring boundary dates
  • Testing only random dates
  • Not separating valid and invalid inputs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes