Giter VIP home page Giter VIP logo

api-autotest's Introduction

API-AutoTest

AutoTest项目

接口自动化测试框架

基于unittest单元测试框架

--API-AutoTest 项目文件夹目录

--autotest_project          第三方模块request模块和unittest模块的基本使用方法

--smart_app_interfacetest   目前的接口自动化测试框架


  --app_test_cases          存放接口测试用例的文件夹


  --config                  存放配置文件的文件夹


    --caselist.txt          用于配置需要执行的测试用例和执行顺序
  
  
    --config.ini            配置文件用于基础参数的配置,例如邮件、数据库、公共参数等
  
  
    --readconfig            模块用于读取config.ini配置文件中的数据
  
  
  --lib                     文件夹用于存放封装的公共方法


    --HTMLTestRunner.py     生成HTML格式测试报告
  
  
    --SendEmail.py          发送测试报告邮件到指定邮箱
  
  
    --api_module.py         对HTTP/HTTPS封装的相关方法
  
  
    --log_conf.py           日志文件的相关配置,将日志输入到指定目录和控制台
  
  
  --run.py                  读取caselist.txt中的用例加入到测试集后运行用例

目前测试用例的管理还没有最大的实现用例参数化运行,而且测试用例并不完善。

api-autotest's People

Contributors

lancemone 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.