# InterfaceTest **Repository Path**: afraidbenq/InterfaceTest ## Basic Information - **Project Name**: InterfaceTest - **Description**: 真接口自动化测试框架 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-02-21 - **Last Updated**: 2024-09-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # InterfaceTest ## 介绍 #### 真·接口自动化测试2.0 #### 基于Python+Requests+Pytest+Allure+Yaml+Jenkins+Sonarqube+企微/钉钉/邮箱 ## 目录结构 │── .pytest_cache // pytest缓存 │── common // 公共 │ └── __init__.py // common初始化 │ └── logger.py // 日志封装 ├── config // 配置 ├── custom // 自定义封装 ├── database // 数据库相关 ├── log // 日志 ├── report // 测试报告 ├── test_case // 测试用例(自动生成) ├── test_case_data // 测试用例数据 ├── test_scene // 测试场景 ├── test_suite // 测试套件 ├── tmp // 临时目录 ├── tool // 工具 ├── data // 测试用例数据 │ └── assertion │ └── assert_control.py // 断言 │ └── assert_type.py // 断言类型 ├── venv // 虚拟环境 ├── .gitignore // 忽略git管理 ├── pytest.ini // pytest配置 ├── pytest_main.py // pytest主程序入口 ├── README.md // 帮助 ├── requirements.txt // 安装依赖 ├── unittest_main.py // unittest主程序入口 ### 安装教程 1. xxxx 2. pip freeze > requirements.txt 3. Python依赖库太多如何管理http://www.gaodaima.com/167765.html ### 使用说明 1. xxxx 2. xxxx 3. xxxx ### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request ### 功能 - 环境切换 - - - - - 断言使用json