Skip to content

基于Pytest+request+Allure的接口自动化开源框架2(升级版)

Notifications You must be signed in to change notification settings

gincoo/Aff_service_git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aff_service_git

简介:

基于Pytest+request+Allure的接口自动化开源框架2(升级版)


模块类的设计:

备注:Charles导出接口应选择文件类型为JSON Session File(.chlsj)
重要模块介绍:

1、writeCase.py :自动读取新的Charles文件,并自动生成测试用例
2、apiMethod.py:封装request方法,可以支持多协议扩展(get\post\put)
3、checkResult.py:封装验证response方法
4、setupMain.py: 核心代码,定义并执行用例集,生成报告\

Aff_service.png


详细介绍见原文:https://www.jianshu.com/p/6f5bfc1182ae

About

基于Pytest+request+Allure的接口自动化开源框架2(升级版)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%