addison wesley writing effective use cases phần 5

Tham khảo tài liệu 'addison wesley writing effective use cases phần 5', ngoại ngữ, ngữ pháp tiếng anh phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 7. Scenarios and Steps Action Steps - Page 98 Guideline 6 It contain a reasonable set of actions. Ivar Jacobson has described a step in a use case as representing a transaction. With this phrasing he captures four pieces of a compound interaction see Figure 16. 11 The primary actor sends request and data to the system. 12 The system validates the request and the data. 13 The system alters its internal state. 14 The system replies to the actor with the result. Figure 16. A transaction has four parts. You can write each piece as a separate action step or combine them in various ways up to putting all four into a single action step. Which is best depends on how complicated each separate piece is and where the natural breaks occur in the processing. As an example here are five variations for you to consider. None is wrong although I consider version 1 too complicated to read easily. I like version 2 when the pieces are simple. I find them a bit too long to work in this instance. Version 3 is personal preference for this example. Version 4 is also good. I find the action steps in version 5 a bit too small making the scenario too long and unwieldy for my taste. Version 5 does have the advantage though of having steps that are separately testable units possibly suited for a more formal development situation. Version 1. 1. The customer enters the order number. The system detects that it matches the winning number of the month registers the user and order number as this month s winner sends an email to the sales manager congratulates the customer and gives them instructions on how to collect the prize. Version 2. 1. The customer enters the order number. 2. The system detects that it matches the winning number of the month registers the user and order number as this month s winner sends an email to the sales manager congratulates the customer and gives them instructions on how to collect the prize. Version 3. 1. The customer enters the order number. 2. The system .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.