Skip to content

Commit d60cc7f

Browse files
authored
update
fix readme
1 parent a2ba73f commit d60cc7f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
# api4excel - 接口自动化测试excel篇
12

2-
###### 工作原理: 测试用例在excel上编辑,使用第三方库xlrd,读取表格sheet和内容,sheetName对应模块名,Jenkins集成服务发现服务moduleName查找对应表单,运用第三方库requests请求接口,根据结果和期望值进行断言,根据输出报告判断接口测试是否通过。
3+
#### 工作原理: 测试用例在excel上编辑,使用第三方库xlrd,读取表格sheet和内容,sheetName对应模块名,Jenkins集成服务发现服务moduleName查找对应表单,运用第三方库requests请求接口,根据结果和期望值进行断言,根据输出报告判断接口测试是否通过。
34

45
###### 1. 数据准备
56
- 数据插入(容易实现的测试场景下所需外部数据)
@@ -16,7 +17,7 @@
1617
- 报告反馈
1718
- 暴露服务
1819

19-
## ` 写一个简单登录的接口自动化测试`  ##
20+
**写一个简单登录的接口自动化测试**
2021

2122
##### 代码的分层如下图:
2223

@@ -340,4 +341,4 @@ logging.info("-------------- Get the result ------------ %s", res)
340341
#### 七、查看测试报告(部署到jenkins会通过控制台查看) ####
341342

342343

343-
![报告.png](http://upload-images.jianshu.io/upload_images/2955280-59a60c84bc40b3b5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
344+
![报告.png](http://upload-images.jianshu.io/upload_images/2955280-59a60c84bc40b3b5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

0 commit comments

Comments
 (0)