forked from hzuapps/uml-modeling-2020
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d4d0d2
commit ea966ec
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# 实验二:用例建模 | ||
|
||
## 一、 实验目标 | ||
|
||
1. 使用Markdown写报告 | ||
2. 选题并建模 | ||
3. 掌握用例图的画法 | ||
|
||
## 二、 实验内容 | ||
|
||
1. 建立个人选题并划分功能 | ||
2. 为所选系统功能建立用例图 | ||
3. 为所选系统功能建立用例规约 | ||
4. 提交实验二报告 | ||
|
||
## 三、 实验步骤 | ||
|
||
1. 确定选题,并写出相关功能 | ||
|
||
- 阅览小说 | ||
- 收藏小说 | ||
|
||
2. 根据功能画出相关Use Case图 | ||
3. 根据功能制出用例规约 | ||
4. 提交实验2 | ||
|
||
## 四、 实验结果 | ||
|
||
1. 画图 | ||
![usecase图](./UseCaseDiagram1.jpg) | ||
图1. 小说用例图 | ||
|
||
## 表1:阅览小说用例规约 | ||
|
||
用例编号 | UC01 | 备注 | ||
-|:-|- | ||
用例名称 | 阅览小说 | | ||
前置条件 | 用户已登录 | *可选* | ||
后置条件 | | *可选* | ||
基本流程 | 1. 用户进入系统; |*用例执行成功的步骤* | ||
~| 2. 系统显示小说列表; | | ||
~| 3. 用户点击小说; | | ||
~| 4. 系统检索用户上次阅读的页面,显示小说内容; | | ||
扩展流程 | 4.1用户已阅读到最后**提示“您已阅读完本小说”**; |*用例执行失败* | ||
|
||
|
||
## 表2:收藏小说用例规约 | ||
|
||
用例编号 | UC02 | 备注 | ||
-|:-|- | ||
用例名称 | 收藏小说 | | ||
前置条件 | 用户已登录 | *可选* | ||
后置条件 | | *可选* | ||
基本流程 | 1. 用户进入系统 ; |*用例执行成功的步骤* | ||
~| 2.系统显示小说列表 ; | | ||
~| 3.用户长按小说 ; | | ||
~| 4.系统显示弹出菜单 ; | | ||
~| 5.用户点击收藏小说 ; | | ||
~| 6. 系统检测小说收藏状态,并修改小说为收藏状态,**提示“已收藏”**; | | ||
扩展流程 | 6.1 系统检测到小说状态为已收藏**提示“请勿重复收藏”**; |*用例执行失败* |