Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

LfOrigin/API_Automation

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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方法

Hash.py 封装常用加密方法

Session.py 封装获取登录cookies方法

run.py 核心代码。定义并执行用例集,生成报告


详细介绍见原文接口自动化框架

About

基于Pytest+request+Allure的接口自动化开源框架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.