forked from liwanlei/jiekou-python3
-
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
Showing
1 changed file
with
15 additions
and
4 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,7 +1,18 @@ | ||
# 这是我自己写的接口测试的, | ||
### 使用的库 requests,绝大部分是基于Python原有的库进行的,这样简单方便, | ||
### 使用参数和脚本的分离可以让我们方便去维护我们的测试脚本。 | ||
### 目前对功能进行了从新的拆分和优化,现在只需要在Data中的data.xlsx 文件中对用例进行编写后,然后点击main运行,就可以 | ||
### 产生的测试报告,后续需要优化当前生成的测试报告,以及对测试用例中的预期进行优化,目前使用的yaml管理的用来,不能 | ||
### 直接运行需要接下来优化的功能。 | ||
# 首先我们来看下我们的目录 | ||
## | ||
 | ||
## | ||
## 1.Case文件夹用来存放我们的测试用例相关的, | ||
## 2.Data用来存储我们的测试数据 | ||
## 3.Interface对测试接口相关的封装,包括requests库,发送测试报告的email的封装,从Excel取测试数据的封装 | ||
## 4.Public 展示测试报告相关的脚本 | ||
## 5.report 存放测试报告 | ||
## 6.main.py 主运行文件。 | ||
## | ||
|
||
## 产生的测试报告如下 | ||
 | ||
### | ||
## 后续还会有相应的优化版本,现在主要功能做出来了。, |