Skip to content
CodeKruPro

Minimum tests to cover every partition of a shipping rule

QuizMediumAsked in: Accenture, Infosys, Wipro

An order total can be a whole number of rupees from 1 to 10,000. Orders below 500 pay a shipping fee of 40. Orders of 500 or more ship free. Totals outside 1 to 10,000 are rejected.

What is the minimum number of test cases that covers every equivalence partition, valid and invalid, at least once?

  • 4
  • 2
  • 3
  • 6

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in