forked from wangxiaoxi3/API_Automation
-
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
1 parent
014038d
commit 15473a6
Showing
1 changed file
with
12 additions
and
0 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,2 +1,14 @@ | ||
# API_Automation | ||
基于Pytest+request+Allure的接口自动化开源框架 | ||
|
||
---- | ||
#### 模块类的设计 | ||
`Request.py` 封装request方法,可以支持多协议扩展(get\post\put) | ||
`Config.py`读取配置文件,包括:不同环境的配置,email相关配置 | ||
`Log.py` 封装记录log方法,分为:debug、info、warning、error、critical | ||
`Email.py`封装smtplib方法,运行结果发送邮件通知 | ||
`Assert.py` 封装assert方法 | ||
`run.py` 核心代码。定义并执行用例集,生成报告 | ||
|
||
---- | ||
#### 详细介绍见原文[接口自动化框架](https://www.jianshu.com/p/e31c54bf15ee) |