继续完善测试模板

This commit is contained in:
2026-05-03 18:08:57 +08:00
parent dd6236866e
commit 4730cd527d
5 changed files with 184 additions and 3 deletions

View File

@@ -30,3 +30,5 @@ pytest tests/desktop/test_desktop_smoke.py -v -s
- **后端 / CLI / DB**:请使用仓库根目录下 `python tests/run_tests.py`(见 `tests/README.md`)。
- **桌面 E2E**:仅在本目录用 **pytest** 维护,二者互补、互不替代。
若仅需验证 **service 业务逻辑**、契约与 golden 回归,**不要**写 desktop E2Edesktop 只用于验证**宿主 UI、路由、`jiangchang://` 协议、真实用户交互链路**等与桌面宿主强相关的行为。