GithubHelp home page GithubHelp logo

yanchunhuo / apiautomationtest_excel Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 10.0 39 KB

自动化测试excel文档中的接口用例

Python 100.00%
excel apiautotest apiautomationtest apiautomation testing testing-tools python unittest

apiautomationtest_excel's Introduction

基于excel的接口自动化测试:

一、安装依赖库

  • pip install -r requirements.txt

二、使用方法

  • python run.py > myreport.html

三、软件

  • unittest 单元测试
  • HTMLTestRunner 将unittest结果生成html
  • requests http请求库
  • xlrd 读excel
  • xlwt 写excel

四、编码规范

  • Python使用2.7版本
  • 代码编写全部统一在Linux环境下进行
  • 文件编码统一使用"-*- coding:utf-8 -*-"

五、打赏

avatar

apiautomationtest_excel's People

Contributors

yanchunhuo avatar yangchonghai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.