QuestionQ32

Test Analysis and Test Design

Supercar is an online vehicle-sales website specializing in one manufacturer’s Sports Utility Vehicles (SUVs) and saloons. A vehicle has two key elements: power unit and body style. The manufacturer provides three power-unit choices: petrol, diesel, and hybrid. There are three main body styles:

  • Saloon
  • Hatchback
  • SUV

SUVs are available only with petrol and diesel options.

Hybrid is available only for Hatchback.

The site will process an order if at least one of the selected vehicle configurations is in stock; otherwise, it will display a message asking the user to try again later.

As a tester, you are asked to review the “Supercar” specification before beginning to design the corresponding test cases.

Which of the comments below would you make?

Explanation

The requirements leave some power-unit and body-style combinations undefined. They specify the permitted SUV combinations and restrict hybrid to Hatchback, but they do not fully state which power units are permitted for Saloon and Hatchback. A complete specification must define these dependencies so that valid and invalid vehicle configurations can be determined consistently.

Learn more

Community Discussion

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