gp-tm
gp-tm 是一个基于 PySide6 的 HMI 测试管理桌面应用,提供用例编辑、Flow 编排、插件扩展、权限管理、版本管理与报告能力。
主要能力
- 可视化编辑:步骤表格与 Flow 双模式编辑
- 多面板工作台:用例树、动作列表、属性编辑、日志与代码视图
- 插件机制:支持项目级扩展动作与能力
- 权限与用户管理:登录、角色、权限控制
- 版本管理:对项目内容进行版本快照管理
- 报告输出:支持执行结果报告生成(含 HTML 报告)
环境要求
- Python
>= 3.7 - 建议使用 Python 3.9+(仓库脚本默认使用
py -3.9)
安装依赖
pip install -r requirements.txt
pip install gp-ir gp-autowidget gp-floweditor
或直接安装项目依赖:
pip install -e .
启动方式
Windows:
py -3.9 src/main.py
Linux/macOS:
python src/main.py
也可使用脚本:
./scripts/run.sh
测试与构建
运行测试:
pytest
构建 wheel:
python -m build --wheel
或使用仓库脚本:
./scripts/build.sh
项目结构
src/
├── main.py
└── gp_tm/
├── app.py
├── main_window.py
├── assets/
├── auth/
├── commands/
├── dialogs/
├── docks/
├── io/
├── logs/
├── mixins/
├── models/
├── plugins/
├── report/
├── runtime/
├── syntax/
├── version_control/
└── widgets/
相关文档
docs/项目文档.md:项目定位、模块边界、核心流程docs/项目目录.md:运行时项目目录规范docs/插件系统使用指南.md:插件开发与接入docs/项目管理使用指南.md:项目管理功能说明
Metadata
Release files for gp-tm 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gp_tm-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for gp_tm-0.1.1-py3-none-any.whl |
Release files / gp_tm-0.1.1-py3-none-any.whl
| Download URL | gp_tm-0.1.1-py3-none-any.whl |
|---|---|
| Size | 212.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a40dd8dbc3279725c76657d61f913797a5edc852bc097e96565d3c20174cb35
|
|
BLAKE2b-256 checksum How to use checksums |
470820d916cbb0f6828309cbd15261839098aec11a6fceb769c9aa17217a4b54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|
Security for gp-tm 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.