# autotest_web **Repository Path**: zhanggengxing/autotest_web ## Basic Information - **Project Name**: autotest_web - **Description**: 自动化测试平台web端代码,使用VUE框架 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2024-05-12 - **Last Updated**: 2024-05-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AutoTest_Web > AutoTest_Web that depends autotest_web ## 本地开发环境部署 ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev ``` 测试 ----------- 1. open url(recommend chrome): http://localhost:8080/testrunner/register ## 部署 nginx模式 -------------- 1. 修改default.conf配置文件 server_name的ip(宿主机IP), 端口默认8080 2. 修改/static/config.js baseUrl地址, 即为AutoTest_Web运行的宿主机地址 3. 执行npm install, npm run build # 生成生产环境包 4. 把default.conf配置文件放到nginx的conf.d目录下 mv default.conf /etc/nginx/conf.d/autotest.conf 5. 把构建的dist文件放到 default.conf配置的文件路径下,cp -r dist/* /usr/share/nginx/html/ 6. 运行nginx 5. open url: http://宿主机ip:8080/testrunner/register 登录 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/login.png) 注册 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/register.png) 项目列表 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/projectlist.png) 项目概览 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/projectdetail.png) API模板 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/apilist.png) 编辑API ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/editapi.png) 用例页面 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/caselist.png) 编辑用例 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/editcase.png) 编辑配置 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/config.png) 全局变量 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/va.png) 驱动代码 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/pycode.png) 编辑代码 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/edipycode.png) 定时任务 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/task.png) 编辑定时任务 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/addtask.png) 测试报告 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/report.png) 测试报告详情 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/reportdetail.png) UI用例管理 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/uicase.png) UI测试计划 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/uiplan.png) UI定时任务 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/uitask.png) UI测试报告 ![Image text](https://gitee.com/liang-kongling/autotest_web/raw/master/img/UIreport.png)