# student_auto **Repository Path**: chi_queen/student_auto ## Basic Information - **Project Name**: student_auto - **Description**: 学院管理接口自动化测试 - **Primary Language**: Python - **License**: OSL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-03-23 - **Last Updated**: 2023-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 学院管理接口项目 ### student_env student_env文件夹中是学生管理系统的原源码,非原创,来源于公众号:程序员小谭(原测试奇谭) 这里我做了一点修改,将系统中的数据更换为了mysql数据库,其实作者源码中也有,只是被注释掉了 ![img.png](img.png) ### student_test student_test是基于pytest+allure写的自动化接口项目 ![img_1.png](img_1.png) ### 一、安装依赖 1. 打开Terinmal,安装依赖模块 ```shell pip3 install -r requirements.txt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com ``` ### 2. 修改项目数据库地址 修改`config.py`文件,将数据库信息和即可信息都换成自己的 ![config.png](img_2.png) ### 3. 在项目路径下,启动项目 这里我项目路径是:student_test ```shell cd student_test ``` 执行自动化项目 ```shell pytest ``` 生成allure样式 ```shell python allure_pytest.py ```