From 871ace422b6e80139e38f1502a0eba420dfefd1b Mon Sep 17 00:00:00 2001 From: Wanderingss <1624155937@qq.com> Date: Fri, 23 Oct 2026 10:55:34 +0800 Subject: [PATCH] =?UTF-8?q?docs(=E9=97=A8=E7=A6=81=E8=AF=B4=E6=98=8E):=20?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E7=AC=AC=E5=85=AB=E8=8A=82=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E6=8E=AA=E8=BE=9E=EF=BC=8C=E6=96=B0=E5=A2=9E=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=8D=95=E6=B5=8B=E7=9A=84=E5=85=A5=E5=8F=A3=E5=86=99=E5=9C=A8?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/门禁说明/host-unit-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/门禁说明/host-unit-tests.md b/docs/门禁说明/host-unit-tests.md index 4e5b3c3f..2b039404 100644 --- a/docs/门禁说明/host-unit-tests.md +++ b/docs/门禁说明/host-unit-tests.md @@ -78,7 +78,7 @@ - 用例号段:`TC-HOST-<模块码>` 以 `test/host/<目录>/*` 为属主登记处(`docs/编号规范.md`); 新增用例要带号,否则 `id-check` 会按形态/悬空规则处理。 -## 8. 改这个机制本身 +## 8. 改这套门禁本身(新增一个模块的宿主单测) - **新增模块的宿主单测 = 复制一个 runner 模板 + 在 `.pre-commit-config.yaml` 加一个钩子 + 登记 TC 号段**,三件事缺一件就会出现"测试存在但没人跑"或"跑了但无号可引"。