From ab79a71eb72daeae14dc2c8e039345d386b04539 Mon Sep 17 00:00:00 2001 From: DKChan <524912269@qq.com> Date: Mon, 26 Oct 2026 02:38:22 +0800 Subject: [PATCH] =?UTF-8?q?docs(=E8=A7=84=E5=88=99=E4=BF=AE=E8=AE=A2):=20c?= =?UTF-8?q?ode-conventions/test-conventions=20=E6=96=87=E9=A6=96=E8=AF=BB?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E5=89=8D=E7=A7=BB=E2=80=94=E2=80=94=E3=80=8C?= =?UTF-8?q?=E5=86=99=E4=BB=BB=E4=BD=95=E4=BB=A3=E7=A0=81=E5=89=8D=E5=BF=85?= =?UTF-8?q?=E9=A1=BB=E9=80=9A=E8=AF=BB=E6=9C=AC=E6=96=87=E4=BB=B6=E3=80=8D?= =?UTF-8?q?=E6=94=B9=E3=80=8C=E5=AE=9A=E4=BB=A3=E7=A0=81=E6=96=B9=E6=A1=88?= =?UTF-8?q?=E5=89=8D=E5=BF=85=E9=A1=BB=E9=80=9A=E8=AF=BB=E6=9C=AC=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E3=80=8D=E3=80=81=E3=80=8C=E5=86=99=E4=BB=BB=E4=BD=95?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=89=8D=E5=BF=85=E9=A1=BB=E9=80=9A=E8=AF=BB?= =?UTF-8?q?=E6=9C=AC=E6=96=87=E3=80=8D=E6=94=B9=E3=80=8C=E5=AE=9A=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=96=B9=E6=A1=88=E5=89=8D=E5=BF=85=E9=A1=BB=E9=80=9A?= =?UTF-8?q?=E8=AF=BB=E6=9C=AC=E6=96=87=E3=80=8D=EF=BC=882026-10-25=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=A3=81=E4=B8=A4=E5=A4=84=E4=B8=80=E8=B5=B7?= =?UTF-8?q?=E6=94=B9=EF=BC=9B=E4=B8=8E=20d121d653=20=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E8=A1=8C=E5=89=8D=E7=A7=BB=E5=8F=A3=E5=BE=84=E5=AF=B9=E9=BD=90?= =?UTF-8?q?=EF=BC=8C=E6=B5=8B=E8=AF=95=E4=BE=A7=E5=AE=9E=E9=99=85=E6=97=B6?= =?UTF-8?q?=E7=82=B9=E6=9B=B4=E6=97=A9=E2=80=94=E2=80=94=E9=AA=8C=E6=94=B6?= =?UTF-8?q?=E6=96=AD=E8=A8=80=E5=9C=A8=E5=86=99=E5=8D=A1=E6=9C=9F=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=EF=BC=9Bprocess-conventions=20=E7=BB=8F=E5=91=88?= =?UTF-8?q?=E6=8A=A5=E7=BB=B4=E6=8C=81=E4=B8=8D=E6=94=B9=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- design/engineering/code-conventions.md | 2 +- design/engineering/test-conventions.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/design/engineering/code-conventions.md b/design/engineering/code-conventions.md index b23d020a..9d422761 100644 --- a/design/engineering/code-conventions.md +++ b/design/engineering/code-conventions.md @@ -3,7 +3,7 @@ > 约束范围:`game/` 代码同尺度;与 AGENTS.md「硬性红线」节硬约束(数值表单点 / RNG 封闭流 / Core 零 UI / fail-fast / spec-AC 一致性)并行生效,冲突以用户裁决为准。 > 分工:本文管结构 / 契约 / 语言 / 数值 / 流程五类;测试的编写与验收见 `design/engineering/test-conventions.md`;真实反例库见同目录 `code-conventions-cases.md`(不常驻加载,对规则适用有疑义时查)。 -**写任何代码前必须通读本文件。** +**定代码方案前必须通读本文件。** --- diff --git a/design/engineering/test-conventions.md b/design/engineering/test-conventions.md index 6bcfdda3..dbc955f7 100644 --- a/design/engineering/test-conventions.md +++ b/design/engineering/test-conventions.md @@ -4,7 +4,7 @@ > 分工:测试**执行许可**(什么时候允许跑测试)归 AGENTS.md「硬性红线·测试执行两入口铁规」;**跑什么闸、什么顺序**归 `tools/run_all_gates.sh`(脚本即清单,本文与 AGENTS.md 均不另列);本文管测试怎么写、怎么算合格。每件测试工具**是什么、判什么、怎么单独跑、什么时候适合单独用**——见 `game/tests/README.md`(测试工具手册),本文不重复工具介绍。 > 归属:随游戏逻辑写/改的测试=需求改动的一部分(随需求卡片同批落地);不伴随逻辑改动的纯测试维护=工程改动(不写卡,用户发令直改)。 -**写任何测试前必须通读本文。** +**定测试方案前必须通读本文。** ---