# douban_test **Repository Path**: ls109/douban_test ## Basic Information - **Project Name**: douban_test - **Description**: 豆瓣电影测试 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-20 - **Last Updated**: 2026-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README douban_test 自动化测试项目说明 一、项目介绍 本项目为自动化测试实战项目,基于豆瓣电影官网开展,覆盖 Web UI 自动化测试,用于简历展示自动化测试实战能力。 二、软件架构 技术栈 编程语言:PythonWeb UI 自动化:Selenium测试框架:Pytest测试报告:Allure被测系统:豆瓣电影官网(https://movie.douban.com/) 目录结构 douban_test/├── testcases/│ └── test_web.py # Web UI 自动化用例(8 条)├── utils/ # 公共工具类├── temps/ # Allure 临时数据目录├── report/ # Allure 报告目录├── pytest.ini # Pytest 配置文件├── requirements.txt # 依赖包列表└── README.md 三、安装教程 安装 Python 3.8 及以上版本。 克隆项目仓库: git clone https://gitee.com/ls109/douban_test.git cd douban_test 安装项目依赖: pip install Selenium、Pytest、Allure-pytest 等 下载对应浏览器驱动(EdgeDriver),放置到项目根目录。 四、使用说明 测试环境信息 被测系统地址:https://movie.douban.com/测试账号:13257699143测试密码:Lsw11091 Web UI 自动化用例(8 条) UI-001:首页加载验证UI-002:正常关键词搜索UI-003:异常搜索(特殊字符)UI-004:清空搜索框重新搜索UI-005:页面自动滚动、点击加载更多UI-006:登录功能验证UI-007:电影封面点击跳转验证UI-008:导航栏切换其余豆瓣网站 用例执行命令 执行全部用例:pytest生成 Allure 测试报告:pytest --alluredir=tempsallure generate temps -o reportallure serve report