Exam4Training

Which test case is needed to complete the test set and achieve minimum class coverage?

Supercar.

Supercar is an online vehicle sales website specializing in a single manufacturer’s Sports Utility Vehicles (SUVs) and saloons A vehicle has two key elements, power unit and body style The manufacturer offers three choices of power unit: petrol, electric and hybrid There are 3 main body styles Saloon, Hatchback and SUV. SUVs are available only as petrol and electric options. Hybrid is available for Hatchback only. The website will allow an order to be processed if the chosen vehicle configuration is in stock, otherwise a message will be displayed asking the user to Cry again later.

Based on the specification, the following classification tree has been developed:

Which test case is needed to complete the test set and achieve minimum class coverage?
A . Power Unit: Hybrid Body Style: Saloon
B . Power Unit: Electric Body Style: Hatchback
C . Power Unit: Petrol Body Style: Saloon
D . Power Unit Hybrid Body Style: Hatchback

Answer: D

Explanation:

The classification tree shows the combinations of power units and body styles for the Supercar online vehicle sales website. Since SUVs are not available in hybrid, and the existing test cases already cover petrol SUV, electric saloon, and petrol hatchback, the missing test case is hybrid hatchback to achieve minimum class coverage.

Reference = ISTQB Certified Tester Advanced Level Syllabus Technical Test Analyst, Section 3.2.3, Classification Trees1; ISTQB Advanced Level Test Analyst (CTAL) Exam Study Guide, Section 3.2.3, Classification Trees2

Exit mobile version