Question: Generate test cases for the following use case ( from Software Requirements, Second Edition by Karl E . Wiegers, Microsoft Press 2 0 0 3

Generate test cases for the following use case (from Software Requirements, Second Edition by Karl E. Wiegers, Microsoft Press 2003):
Use case name: Order Meal ID: 1 Primary actor: Patron
Description:
A Patron accesses the Cafeteria Ordering System (COS) from the corporate intranet or home, optionally views the menu for a specific date, selects food items, and places an order for a meal to be delivered to a specified location within a specified 15-minute time window.
Preconditions: Patron is logged into COS.
Post-conditions:
Meal order is stored in COS with a status of "Accepted".
The inventory of available food items is updated to reflect items in this order.
Normal Course:
1.0 Order a Single Meal
1. The patron asks to view the menu for a specified date.
2. The system displays the menu of available food items and the daily special.
3. Patron selects one or more food items from the menu.
4. The patron indicates that the meal order is complete.
5. The system displays ordered menu items, individual prices, and total prices, including any taxes and delivery charges.
6. Patron confirms meal order or requests to modify meal order (back to step 3).
7. The system displays available delivery times for the delivery date.
8. Patron selects a delivery time and specifies the delivery location.
9. Patron specifies payment method.
10. The system confirms acceptance of the order.
11. The system sends Patron an e-mail confirming order details, price, and delivery instructions.
12. The system stores orders in the database, sends e-mails to notify Cafeteria Staff, sends food item information to the Cafeteria Inventory System, and updates available delivery times.
Alternative Courses:
1.1 Order multiple meals (branch after step 4)
1. The patron asks to order another meal.
2. Return to step 2.
1.2 Order multiple identical meals (after step 3)
1. Patron requests a specified number of identical meals.
2. Return to step 4.
1.3. Order the daily special (after step 2)
1. Patron orders the daily special from the menu.
2. Return to step 5.
Exceptions:
1.0.E.1 Current time is after order cutoff time (at step 1)
1. The system informs Patron that it's too late to place an order for today.
2. Patron cancels the meal order.
3. System terminates use case.
4. Patron requests to select another date.
5. System restarts use case.
1.0.E.2 No delivery times left (at step 1)
1. The system informs the Patron that no delivery times are available for the meal date.
2. Patron cancels the meal order.
3. The system terminates the use case.
4. Patron requests to pick the order up at the cafeteria (skip steps 7-8).
1.2.E.1 Can't fulfill the specified number of identical meals (at step 1)
1. The system informs the Patron of the maximum number of identical meals it can supply.
2. Patron changes the number of identical meals ordered or cancels meal orders.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!