test: add pytest baseline

This commit is contained in:
ila
2026-07-04 23:34:05 +08:00
parent 3405e0c6bb
commit aaf35f2d7a
10 changed files with 44 additions and 22 deletions
+3 -4
View File
@@ -55,14 +55,13 @@
- client 测试:超时、CHIS 错误码、未登录重登。
- API 测试:鉴权失败、参数失败、幂等重复、成功提交。
当前文档阶段可运行:
当前标准测试命令:
```powershell
Get-ChildItem -Recurse -File # PowerShell
# bash 等价: find . -type f -not -path './.git/*'
python -m pytest
```
代码阶段的真实命令待 T-001 补齐。
必要时可补充运行 `python -m unittest discover -s tests`,但 T-003 之后以 pytest 为主测试入口。
## 6. 绝不