| English | 繁體中文 |

PyBreeze 是一款专为自动化工程师打造的 Python IDE。它将 Web、API、GUI 和负载测试自动化整合到单一统一环境中——无需寻找插件、无需复杂的环境配置,打开即可开始自动化。
PyBreeze 开箱即用,涵盖自动化测试的完整范围:
| 维度 | 模块 | 说明 |
|---|---|---|
| Web 自动化 | WebRunner | 浏览器交互模拟与测试,深度集成浏览器驱动与元素定位器 |
| API 自动化 | APITestka | RESTful API 开发与测试,内置请求构建器、响应分析器、Mock 服务器及断言验证 |
| GUI 自动化 | AutoControl | 桌面应用程序自动化,支持图像识别、坐标定位、键盘鼠标控制及动作录制 |
| 负载与压力测试 | LoadDensity | 高并发性能测试引擎,用于监控系统在极端压力下的稳定性 |
此外还包含:
PyBreeze 不仅仅是一个代码编辑器——它是自动化生命周期的指挥中心:
.venv 或 venv)。~/.pybreeze/ssh_known_hostsflowchart / graph 导入.diagram.json,导出为 PNG 或 SVGPyBreeze 支持可扩展的插件架构,用于:
插件会从 jeditor_plugins/ 目录自动发现加载。完整文档请参阅 PLUGIN_GUIDE.md。
内置插件: C、C++、Go、Java、Rust 语法高亮与运行支持;法语翻译。
IDE 界面支持多种语言:
flowchart TB
UI["PyBreeze UI · PySide6"]
subgraph Editor["JEditor 基础编辑器"]
direction LR
E1["代码编辑器 + 标签页"]
E2["文件树"]
E3["语法高亮"]
E4["插件系统"]
end
subgraph Automation["自动化菜单"]
direction LR
A1["APITestka"]
A2["AutoControl"]
A3["WebRunner"]
A4["LoadDensity"]
A5["FileAutomation"]
A6["MailThunder"]
A7["TestPioneer"]
end
subgraph Executors["子进程执行器 · TaskProcessManager"]
direction LR
X1["je_api_testka"]
X2["je_auto_control"]
X3["je_web_runner"]
X4["je_load_density"]
X5["automation-file"]
X6["je-mail-thunder"]
X7["test_pioneer"]
end
subgraph Tools["工具"]
direction LR
T1["SSH · paramiko"]
T2["AI 代码审查"]
T3["CoT 提示词编辑器"]
T4["Skill 提示词编辑器"]
T5["Skill Send GUI"]
T6["架构图编辑器"]
T7["JupyterLab"]
end
subgraph Install["安装菜单"]
direction LR
I1["模块安装器"]
I2["构建工具"]
end
UI --> Editor
UI --> Automation
UI --> Tools
UI --> Install
A1 --> X1
A2 --> X2
A3 --> X3
A4 --> X4
A5 --> X5
A6 --> X6
A7 --> X7
PyBreeze 采用模块化架构:
PyBreeze UI (PySide6)
├── JEditor(基础编辑器引擎)
│ ├── 代码编辑器与标签页
│ ├── 文件树导航
│ ├── 语法高亮引擎
│ └── 插件系统
├── 自动化菜单
│ ├── APITestka ──→ APITestka 执行器 ──→ je_api_testka
│ ├── AutoControl ──→ AutoControl 执行器 ──→ je_auto_control
│ ├── WebRunner ──→ WebRunner 执行器 ──→ je_web_runner
│ ├── LoadDensity ──→ LoadDensity 执行器 ──→ je_load_density
│ ├── FileAutomation ──→ FileAutomation 执行器 ──→ automation-file
│ ├── MailThunder ──→ MailThunder 执行器 ──→ je-mail-thunder
│ └── TestPioneer ──→ TestPioneer 执行器 ──→ test_pioneer
├── 工具
│ ├── SSH 客户端(paramiko)
│ ├── AI 代码审查客户端
│ ├── CoT 提示词编辑器
│ ├── Skill 提示词编辑器
│ ├── Skill Send GUI
│ ├── 架构图编辑器(WYSIWYG、Mermaid 导入、PNG/SVG 导出)
│ └── JupyterLab 集成
└── 安装菜单
├── 自动化模块安装器
└── 构建工具安装器
每个自动化模块都通过 PythonTaskProcessManager 在独立的子进程中执行,提供进程隔离,防止崩溃影响 IDE。
pip install pybreeze
git clone https://github.com/Intergration-Automation-Testing/AutomationEditor.git
cd AutomationEditor
pip install -r requirements.txt
python -m pybreeze
from pybreeze import start_editor
start_editor()
python exe/start_pybreeze.py
启动后,您可以:
自动化 菜单,选择目标模块(APITestka、WebRunner 等)PyBreeze/
├── pybreeze/
│ ├── __init__.py # 公开 API(start_editor、插件 re-export)
│ ├── __main__.py # 入口点(python -m pybreeze)
│ ├── extend/
│ │ ├── mail_thunder_extend/ # 测试后邮件报告发送
│ │ ├── process_executor/ # 各自动化模块的子进程管理器
│ │ │ ├── api_testka/
│ │ │ ├── auto_control/
│ │ │ ├── file_automation/
│ │ │ ├── load_density/
│ │ │ ├── mail_thunder/
│ │ │ ├── test_pioneer/
│ │ │ └── web_runner/
│ │ └── process_executor/python_task_process_manager.py
│ ├── extend_multi_language/ # 内置翻译(英语、繁体中文)
│ ├── pybreeze_ui/
│ │ ├── editor_main/ # 主窗口(扩展 JEditor)+ 文件树右键菜单
│ │ ├── connect_gui/ssh/ # SSH 客户端组件(TOFU host key 验证)
│ │ ├── diagram_editor/ # WYSIWYG 架构图编辑器
│ │ ├── extend_ai_gui/ # AI 代码审查与提示词编辑器
│ │ ├── jupyter_lab_gui/ # JupyterLab 集成
│ │ ├── menu/ # 菜单栏构建
│ │ ├── syntax/ # 自动化关键字定义
│ │ └── show_code_window/ # 代码显示组件
│ └── utils/ # 日志、异常处理、文件处理、包管理
├── exe/ # 独立启动器与构建配置
├── docs/ # Sphinx 文档源码
├── test/ # 单元测试
├── images/ # 截图
├── architecture_diagram/ # 架构图
├── PLUGIN_GUIDE.md # 插件开发文档
├── pyproject.toml # 包配置
├── requirements.txt # 运行时依赖项
└── dev_requirements.txt # 开发依赖项
| 包 | 用途 |
|---|---|
PySide6 (6.11.0) |
GUI 框架(Qt for Python) |
je-editor |
基础代码编辑器引擎 |
je_api_testka |
API 测试自动化 |
je_auto_control |
GUI/桌面自动化 |
je_web_runner |
Web 浏览器自动化 |
je_load_density |
负载与压力测试 |
je-mail-thunder |
邮件自动化 |
automation-file |
文件操作自动化 |
test_pioneer |
基于 YAML 的测试框架 |
paramiko |
SSH 客户端支持 |
jupyterlab |
集成式笔记本环境 |
build、twine、sphinx、sphinx-rtd-theme、auto-py-to-exe
本项目采用 MIT 许可证——详情请参阅 LICENSE 文件。
Copyright (c) 2022 JE-Chen