2 Inception 用例模型和其他需求 徐迎晓 xuyingxiao@126.com http://iavabook.126.com 复旦大学软件学院
2 Inception 用例模型和其他需求 徐迎晓 xuyingxiao@126.com http://javabook.126.com 复旦大学软件学院
outline 用例的概念 ●用例书写格式 ●用例的提取:目标->用例 绘图 ●用例驱动开发过程 ●其他需求
outline 用例的概念 用例书写格式 用例的提取: 目标-->用例 绘图 用例驱动开发过程 其他需求
makeNew sale Simple cash-oIiocess Satrenario: Customer arrives at a POS checKout enterltem(itemID. quantit with goods and/or services to purchase 2. Cashier starts a new sale 3. Cashier enters item identifier description total 4. System records sale line item an presents item description, price, an [more items] running total. Cashier repeats steps 3-4 until indicate done endsale 5. System presents total with taxes calculated 6. Cashier tells Customer the total, and ------t9wix asks for payment. 7. Customer pa ays and System handles payment makePayment(amount change due, receipt
system boundary NextGen wxr- communication Process Sale notation a computer Cashier Handle Returns Payment system actor Authorization a Servic actor actor》 Process Rental Tax Calculator actor》 Cash In Accounting <actor》 System Sales Activit ystem actor> Analyze Activity HR System System Manage Users Administrator Figure 6.2 Partial use case context diagram
Discipline Artifact Incep. Elab.Const.Trans Iteration-% El.. En CL. Cn BusinessModeling Domain Model Requirements Use-Case model Ⅴ IsIon Supplementary Specification Glossary Design Design model SW Architecture document Data model Implementation Implementation Model srrrrssssrsr r Project Management Sw Development Plan Testing Test mode Environment Development Case Table 2. I Sample Development Case of UP artifacts, s-start; r-refine