-
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 #1202 from laughla/master
- Loading branch information
Showing
4 changed files
with
85 additions
and
5 deletions.
There are no files selected for viewing
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,8 +1,28 @@ | ||
#实验一 | ||
# 实验一 | ||
|
||
##实验目标 | ||
## 一. 实验目标 | ||
|
||
##实验内容 | ||
1. 熟悉github实验过程 | ||
2. 安装与使用StarUML | ||
|
||
##实验结果 | ||
![第一个UML图](./model1.jpg) | ||
## 二. 实验内容 | ||
|
||
1. 安装github联系使用git bash | ||
2. 安装StarUML并创建一个图 | ||
|
||
## 三. 实验步骤 | ||
|
||
1. 安装工具软件 | ||
2. fork项目到账号下 | ||
3. clone项目到本地磁盘 | ||
4. 用StarUML创建第一个图 | ||
5. 将图片pull到github库中 | ||
6. 执行pullrequest | ||
7. 编写实验报告 | ||
|
||
|
||
## 四. 实验结果 | ||
|
||
1.画图 | ||
![第一个UML图](./model1.jpg) | ||
图1.在StarUML创建的第一个图 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
# 实验二 | ||
|
||
## 一. 实验目标 | ||
|
||
- 学会使用StarUML用例建模 | ||
|
||
## 二. 实验内容 | ||
|
||
- 细化功能需求。 | ||
- 画出用例图(Use Case Diagram)。 | ||
- 编写用例规约(表格) | ||
|
||
## 三. 实验步骤 | ||
|
||
- 创建更新issue#355 | ||
- 画图:用例图图2(老师发布个人信息)、图3(家长筛选老师) | ||
- 编写用例规约表2(发布信息用例规约),表3(筛选配对老师用例规约) | ||
|
||
## 四. 实验结果 | ||
|
||
- 用例图2 | ||
![用例2](./LAB02.UseCaseDiagram2.jpg) | ||
图2.老师发布个人信息 | ||
|
||
- 用例图3 | ||
![用例3](./LAB02.UseCaseDiagram3.jpg) | ||
图3.家长筛选配对老师 | ||
|
||
## 表2:发布信息用例规约 | ||
用例编号 | UC02 | 备注 | ||
-|:-|- | ||
用例名称 | 发布个人信息 | | ||
前置条件 | 老师登入系统 | *可选* | ||
后置条件 | | *可选* | ||
基本流程 | 1. 老师点击发布信息按钮 | | ||
~| 2. 老师输入信息,点击确认发布按钮 | | ||
~| 3. 系统检查到输入框**不为空** | | ||
~| 4. 保存消息,提示发布消息成功 | | ||
~| 5. 显示已发布的消息 | | ||
扩展流程 | 3.1 系统检测到输入框为空,提示**消息不能为空** | *用例执行失败* | ||
~| 4.1 系统出错或网络断开,系统提示**发布消息失败** | | ||
|
||
|
||
## 表3:筛选配对老师用例规约 | ||
用例编号 | UC03 | 备注 | ||
-|:-|- | ||
用例名称 | 筛选配对老师 | | ||
前置条件 | 老师发布个人信息 | *可选* | ||
后置条件 | | *可选* | ||
基本流程 | 1. 家长浏览老师发布的个人信息 | | ||
~| 2. 家长满意,点击配对按钮 | | ||
~| 3. 系统检测是否存在该条信息 | | ||
~| 4. 系统检测老师是否已配对 | | ||
~| 5. 系统保存配对信息 | | ||
~| 6. 系统提示**配对成功** | | ||
~| 7. 显示配对信息 | | ||
扩展流程 | 1.1 系统检测到无老师发布信息,提示**暂无老师发布信息** | *用例执行失败* | ||
~| 3.1 系统检测到该信息已被删除,提示**该信息已被发布者删除,请重新筛选** | *用例执行失败* | ||
~| 4.1 系统检测到该教师已配对,提示**已配对,请重新筛选** | *用例执行失败* | ||
~| 6.1 系统出错或网络断开,系统提示**配对失败** | |