GithubHelp home page GithubHelp logo

zerolugithub / api_automation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wangxiaoxi3/api_automation

0.0 2.0 0.0 1005 KB

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

Python 100.00%

api_automation's Introduction

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 核心代码。定义并执行用例集,生成报告


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

api_automation's People

Contributors

wangxiaoxi3 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.