Skip to content

innet8/python_automation_framework

Repository files navigation

Python Automation Testing Framework

项目介绍

这是一个全面的自动化测试框架,支持API、Web和移动应用测试。

环境准备

  1. 安装Python 3.9+
  2. 创建虚拟环境: python -m venv venv
  3. 激活虚拟环境:
    • Windows: venv\Scripts\activate
    • macOS/Linux: source venv/bin/activate
  4. 安装依赖: pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/

运行测试

  • API测试: pytest tests/api
  • Web测试: pytest tests/web
  • 移动测试: pytest tests/mobile

生成测试报告

allure generate reports -o allure-report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages