Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following excerpt from the use case Order a soda from a soda machine: Pre-conditions: The machine is in the initial state, showing a
Consider the following excerpt from the use case "Order a soda from a soda machine": Pre-conditions: The machine is in the initial state, showing a welcome screen. Main scenario steps: 1. A user selects the "Soda-1" type of a beverage. 2. The machine shows the price of the Soda-1 (80 cents). 3. A user enters 80 cents into the coin slot. 4. The machine returns the Soda-1 beverage. Alternative paths: 3a. a user inserts more than 80 cents (the machine returns change in step 4). 3b. a user cancels the operation (the machine returns the money and goes back To the welcome screen). Exceptions: 2. There are no "Soda-1" beverages in the machine. i. How many test cases are required to cover the use case? ii. Write the test cases based on your answer in 40). The test case should consist of test case id, test case description, test case step, test data and expected result
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started