-
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 #1248 from 1161320313/master
- Loading branch information
Showing
3 changed files
with
87 additions
and
4 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 |
---|---|---|
@@ -1,9 +1,32 @@ | ||
# 实验一 | ||
|
||
## 实验目标 | ||
## 一、 实验目标 | ||
|
||
## 实验内容 | ||
1. 熟悉github实验过程 | ||
2. 安装与使用StartUML | ||
|
||
## 实验结果 | ||
## 二、 实验内容 | ||
|
||
- 安装github并练习使用git bash | ||
- 安装StartUML并创建第一个图 | ||
|
||
## 三、 实验步骤 | ||
|
||
1. 下载并安装Git和StarUML | ||
2. 去课程库fork项目到个人仓库 | ||
3. 将项目克隆到本地磁盘 | ||
4. 用StarUML创建UML图 | ||
5. 用Git上传UML图 | ||
6. 在GitHub上创建markdown实验文档 | ||
7. 编写实验文档 | ||
8. 提交实验文档 | ||
9. 使用git pull更新本地的副本 | ||
10. 在git上pull request | ||
|
||
## 四、 实验结果 | ||
|
||
1.画图 | ||
|
||
![第一张UML类图](./model1.jpg) | ||
图1. 第一张UML类图 | ||
|
||
![第一个UML图](./model1.jpg) |
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 系统检测到含有用户收藏小说的记录**提示“请勿重复收藏”**; |*用例执行失败* |