QuestionQ9

Agile Testing Methods, Techniques and Tools

Consider an online application that enables registered users to pay annual car tax according to their vehicle’s engine power in kW. Given this user story:

> “As a customer, I need the online application to calculate the annual car tax amount that I need to pay for my car”

  • If the vehicle’s power is less than 20 kW, the annual car tax is free.
  • If the vehicle’s power is greater than or equal to 20 kW but less than or equal to 150 kW, the annual car tax is 250 Euros.
  • If the vehicle’s power is greater than 150 kW, the annual car tax is 750 Euros.

What is the MOST suitable use of a black-box test design technique for this user story?

Explanation

Equivalence partitioning divides the engine-power input domain into classes expected to produce the same result: below 20 kW, 20–150 kW inclusive, and above 150 kW. Representative values from each partition can verify the corresponding tax amount; the boundaries should also be considered when selecting tests.

Community Discussion

No comments yet. Be the first to start the discussion!