Code Monkey home page Code Monkey logo

api_framework's Introduction

1,
2,项目版本更新说明
 0.1:处理了XX问题
 0.2 。。。。

‘’‘
发邮件
记录log
动态处理数据
测试用例关联,后面充值,都要依赖登录
正则表达式
数据库状态
’‘’
’‘’
前程贷项目的接口实现
注册
登录
充值
提现
添加项目
审核项目
投资
获取项目
‘’‘

DDT  htmltestrunner修改版的放在接口框架的libs下

#logger
#yaml

配置文件:
1.py 非常灵活,只有Python代码适用
2.yaml文件, 通用Java,读取解析简单智能
3.ini,读取负责,旧的项目用的多

框架的分层
1、测试代码主入口,run_test.py
2、测试逻辑/用例包,test_cases,各个模块的测试用例方法
3、数据管理层,excel,csv,py文件-list,dict,yaml文件等
4、业务逻辑层,requests_handler,excel_handler通用的
# logger 访问数据库
5、配置文件(和项目是相关的,项目地址,数据库地址,logger级别)
6、测试报告(输出)


setup

api_framework's People

Contributors

langdawang678 avatar

Watchers

James Cloos 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.