# PythonInterfaceFrame **Repository Path**: he_weihua/PythonInterfaceFrame ## Basic Information - **Project Name**: PythonInterfaceFrame - **Description**: 这是python 中基于 requests 库来写的接口测试框架 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-05-11 - **Last Updated**: 2025-05-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PythonInterfaceFrame ## 介绍 这是python 中基于 requests 库来写的接口测试框架 ## 软件架构 Python + Request + Pytest + Allure + (钉钉/企业微信/飞书)通知 ## 项目目录结构 ~~~~ ├─api 存放接口请求函数 ├─data 存放参数构造数据文件 ├─log 存放系统日志 ├─testcases 测试用例 └─utils 工具类 └─.env 配置文件 └─conftest pytest的钩子(hook)配置文件 └─pytest.ini pytest运行配置文件 └─requirements.txt 安装第三方库的描述文件 └─run_pytest 定时执行文件 ~~~~ ## 安装环境 在终端中执行 ~~~~ pip install -r requirements.txt ~~~~ ## 运行 终端执行 ~~~~ pytest ~~~~