Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#8 #489 修改之前实验 #2540

Merged
merged 2 commits into from
May 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified students/1714080902617/Lab2_UseCaseDiagram.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions students/1714080902617/lab2.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
~| 3. 客户点击选择桌位; |
~| 4. 系统检查桌位信息,检查桌位状态是“空闲”,保存桌位信息; |
~| 5. 系统跳转到点餐页面,系统修改桌位状态为“正在使用” |

扩展流程 | 4.1 系统检查桌位状态为“正在使用”,提示“该桌位正在使用,请选择其他桌位”。 |*用例执行失败*
扩展流程 | 4.1 系统检查桌位状态为“正在使用”,提示“该桌位正在使用,请选择其他桌位”。 |*用例执行失败*


## 表2:点餐提交订单用例规约
Expand All @@ -71,18 +70,16 @@
扩展流程 | 4.1 系统检查菜品余量不足,提示客户“菜品库存不足”,系统返回菜品信息页; |*用例执行失败*


## 表3:处理订单结账用例规约
## 表3:处理订单用例规约

用例编号 | UC03 | 备注
-|:-|-
用例名称 | 结算订单 |
用例名称 | 处理订单 |
前置条件 | 服务员进入处理订单页面 | *可选*
后置条件 | 系统打印出订单结果 | *可选*
基本流程 | 1. 服务员点击选择桌位; |*用例执行成功的步骤*
~| 2. 系统查询桌位的订单信息,显示订单信息; |
~| 3. 服务员点击结账按钮 |
~| 4. 系统更新桌位状态为“空闲”并更新桌位的订单信息为“已处理”,打印出订单结果 |


扩展流程 | 4.1 系统检查桌位的订单为“已处理”,提示“此桌没有订单需要处理”。 |*用例执行失败*