-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1243 from kunknu/master
update lab2
- Loading branch information
Showing
5 changed files
with
76 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes
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,11 @@ | ||
# 实验1 | ||
## 实验目标 | ||
1. 熟悉GitHub实验过程 | ||
2. 安装与使用StartUML | ||
3. 建立第一个UML模型图 | ||
## 实验内容 | ||
1. 安装GitHub并练习Git Bush | ||
2. 安装StartUML并创建一个图 | ||
## 实验结果 | ||
![第一个uml图](./实验1.jpg) | ||
图1. 在StarUML上创建的第一个图 |
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,65 @@ | ||
# 实验2 | ||
## 实验目标 | ||
1. 使用Markdown写报告 | ||
2. 细化选题并用例建模 | ||
3. 掌握用例图的画法 | ||
## 实验内容 | ||
1. 确定选题 | ||
2. 细化选题并建模 | ||
3. 编写用例规约 | ||
## 实验步骤 | ||
1. 根据issue在StarUML上创建用例图 | ||
2. 确定参与者(Actor): | ||
->观众 | ||
3. 确定用例(use case): | ||
->选票 | ||
->退票 | ||
->改票 | ||
4. 建立Actor和use case之间的联系 | ||
|
||
## 实验结果 | ||
![lab2](./lab2_UseCaseDiagram.jpg) | ||
## 表一:选票用例1规约 | ||
用例编号 | UC01 | 备注 | ||
-|:-|- | ||
用例名称|选票| | ||
前置条件 | 观众已登录 | *可选* | ||
后置条件 | | *可选* | ||
基本流程 | 1. 观众进入选票页面 | | ||
~| 2. 系统获取比赛信息 | | ||
~| 3. 观众选定位置并点击提交选票信息 | | ||
~| 4. 系统写入观众选票信息 | | ||
~| 5. 系统提示选票成功 | | ||
扩展流程 | 2.1 系统检查位置已被选用,提示观众选票失败重新选票 |*用例执行失败* | ||
~| 2.2 系统检查比赛已过期或取消,提示观众选票失败 | | ||
|
||
## 表二:退票用例2规约 | ||
用例编号 | UC02 | 备注 | ||
-|:-|- | ||
用例名称|退票| | ||
前置条件 | 观众已登录 | *可选* | ||
后置条件 | | *可选* | ||
基本流程 | 1. 观众进入退票页面 | | ||
~| 2. 系统获取观众信息 | | ||
~| 3. 观众选定已选比赛并提交退票信息 | | ||
~| 4. 系统作废原票 | | ||
~| 5. 系统提示退票成功 | | ||
扩展流程 | 2.1 系统检查比赛已过期或取消,提示观众退票失败 |*用例执行失败* | ||
|
||
## 表二:改票用例3规约 | ||
用例编号 | UC03 | 备注 | ||
-|:-|- | ||
用例名称|改票| | ||
前置条件 | 观众已登录 | *可选* | ||
后置条件 | | *可选* | ||
基本流程 | 1. 观众进入改票页面 | | ||
~| 2. 系统获取观众信息 | | ||
~| 3. 观众选定已选比赛并提交改票信息 | | ||
~| 4. 系统写入新票信息 | | ||
~| 5. 系统作废原票 | | ||
~| 6. 系统提示改票成功 | | ||
扩展流程 | 2.1 系统检查位置已被选用,提示观众选票失败重新改票 |*用例执行失败* | ||
~| 2.2 系统检查比赛已过期或取消,提示观众改票失败 | | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.