QuestionQ9
Managing the Test ActivitiesYou are the Test Manager for a project developing a client-server application that enables wine vendors to order custom-assorted wine packages from several winemakers for sale as special packages in their wine shops.
You decide to use a blended risk-based and reactive testing strategy. The following are the exit criteria for system testing:
- EXCR1 — Each “critical” quality-risk item must be covered by at least one test condition.
- EXCR2 — Each “critical” requirement must be covered by at least one test condition.
The following are the “critical” requirements of the application:
- REQ-SEL-1. The application shall permit the user to order only one package at a time.
- REQ-SEL-2. The application shall allow the user to choose among four different packages (2-bottles, 6-bottles, 12-bottles, 15-bottles).
- REQ-SEL-3. The application shall allow the user to order a package containing at least 1 bottle and no more bottles than the package size. No error messages shall be displayed if the user selects a valid number of bottles (at least 1 bottle and no more than the package size).
- REQ-SEL-4. The application shall display an error message “Invalid number of bottles” if the user selects an invalid number of bottles (zero bottles or a number higher than the package size).
- REQ-PAY-1. The application shall allow the user to pay with the three accepted credit cards (Visa, MasterCard, American Express).
- REQ-PAY-2. The application shall display an error message “Invalid credit card” if the user provides invalid credit-card data.
The following is the only identified “critical” quality-risk item:
- CR-RSK-1. The application GUI might accept non-integer values in the input field intended to obtain the number of bottles from the user.
Test analysis for system testing has just started, and the following test conditions have been identified:
- TC-SEL-2. Test the selection of package sizes.
- TC-SEL-4. Test incorrect numbers of bottles for an order.
- TC-CR-RSK-1. Test the accepted values from the input field intended to obtain the number of bottles from the user.
What is the MINIMUM number of test conditions that must be added to satisfy both the EXCR1 and EXCR2 exit criteria?
- A 4
- B 3
- C 2
- D 1
Community Discussion