# web_UI **Repository Path**: xiaoxinai/web_UI ## Basic Information - **Project Name**: web_UI - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-06 - **Last Updated**: 2021-09-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # web-UI 自动化测试示例 --- ## 框架设计 - pytest - selenium - POM 模型 --- ## 目录结构 common ——公共类 Page ——基类 PageElements ——页面元素类 PageObject ——页面对象类 TestCase ——测试用例 conf.py ——各种固定配置 conftest.py ——pytest胶水文件 pytest.ini ——pytest配置文件 --- ## 运行 - `cd 项目目录` * MacOS 系统或 Linux 系统 - 在命令行输入`sh run_mac.sh`即可运行 * Windows 系统 - 在命令行输入`run_mac.bat`即可运行 # allure参数说明 - allure --alluredir - allure generate - -c 生成报告前删除上一次生成的报告 - -o 指定生成的报告目录 - allure open