# auto-test自动化测试 **Repository Path**: jian3596/auto-test ## Basic Information - **Project Name**: auto-test自动化测试 - **Description**: 自动测试自动测试自动测试 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-02 - **Last Updated**: 2026-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # auto-test 触屏自动化测试 基于 Linux uinput 子系统的触屏自动化测试工具,适用于 RK3588/Ubuntu 等平台的 UI 自动化场景。 ## 项目结构 ``` auto-test/ ├── device/ # 仪器端(RK3588) │ ├── touch_driver.py # uinput 触控驱动 │ ├── schemas.py # Pydantic 请求模型 │ └── app.py # FastAPI 服务入口 ├── pc/ # PC 控制端 │ ├── config.py # 读取 .env 配置 │ ├── client.py # HTTP 客户端封装 │ └── cli.py # PC 端命令行入口 ├── workflows/ # 测试流程编排 │ └── smoke.py # 冒烟测试示例 └── docs/ └── API文档.md # 中文 API 文档 ``` ## 快速开始 ```bash # 安装依赖 uv sync # 仪器端启动 API 服务 uv run auto-test-device --port 8800 # PC 端远程操作 uv run auto-test-pc tap 500 800 uv run auto-test-pc swipe 500 1500 500 500 ``` ## API 文档 服务启动后访问 `http://:8800/docs` 查看 Swagger 文档,或阅读 [API文档.md](docs/API文档.md)。