2026-10-17 10:49:04 +08:00
<!DOCTYPE html>
< html lang = "zh-CN" data-theme = "light" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< title > 质量门禁与 TestOps · 阶段 4 · 提效率 模块 4 · 测试开发工程师从零到成熟< / title >
< meta name = "description" content = "质量门禁与 TestOps 模块目录:共 13 章、60 个小节。" >
< link rel = "stylesheet" href = "../../assets/doc.css" >
< / head >
< body >
< header class = "topbar" >
< div class = "tb-in" >
< a class = "brand" href = "../../index.html" > < span class = "logo" > QA< / span > < div > 从零到成熟< small > 测试开发 · 模块详解< / small > < / div > < / a >
< div class = "crumbs" >
< a href = "../../index.html" > 学习路径< / a > < span class = "sep" > /< / span >
< a href = "../../index.html#s4" > 阶段 4 · 提效率< / a > < span class = "sep" > /< / span >
< b > 质量门禁与 TestOps< / b >
< / div >
< div class = "spacer" > < / div >
< button class = "btn" id = "tocToggle" > ☰ 导航< / button >
< button class = "btn" id = "themeBtn" title = "切换到深色主题" > 深色< / button >
< / div >
< / header >
< div class = "layout" id = "layout" >
< aside class = "sidebar" >
< h2 > 章节目录< / h2 >
< nav id = "chapters" > < a class = "toc-a" href = "01-why.html" > < i class = "cn" > 1< / i > 门禁为什么会被绕过:从「测试做完了吗」到「机器说了算」< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "01-why.html#sec-1-1" > 一次被整体关掉的门禁: 14 道检查与 38% 的绕过率< / a > < a class = "toc-a lv3" href = "01-why.html#sec-1-2" > 门禁的三个失效模式< / a > < a class = "toc-a lv3" href = "01-why.html#sec-1-3" > 测试工作的交付物:从报告到机制< / a > < a class = "toc-a lv3" href = "01-why.html#sec-1-4" > TestOps 的四件事:判据、执行、度量、运营< / a > < a class = "toc-a lv3" href = "01-why.html#sec-1-5" > 交付物与验收标准< / a > < / div > < a class = "toc-a" href = "02-three-gates.html" > < i class = "cn" > 2< / i > 三段门禁的职责边界< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "02-three-gates.html#sec-2-1" > 提交门禁:五分钟内告诉提交人有没有踩坏主链路< / a > < a class = "toc-a lv3" href = "02-three-gates.html#sec-2-2" > 合并门禁:唯一会把问题写进 main 的动作< / a > < a class = "toc-a lv3" href = "02-three-gates.html#sec-2-3" > 发布门禁:与合并门禁同判据、不同范围< / a > < a class = "toc-a lv3" href = "02-three-gates.html#sec-2-4" > 三段之间的成本与拦截收益< / a > < a class = "toc-a lv3" href = "02-three-gates.html#sec-2-5" > 门禁的升级与降级:什么时候加、什么时候撤< / a > < / div > < a class = "toc-a" href = "03-criteria.html" > < i class = "cn" > 3< / i > 判据台账:把「感觉不行」变成一条命令< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "03-criteria.html#sec-3-1" > 可判定判据的三个必要条件与版本化< / a > < a class = "toc-a lv3" href = "03-criteria.html#sec-3-2" > gates/criteria.yaml: 一条判据的六个字段< / a > < a class = "toc-a lv3" href = "03-criteria.html#sec-3-3" > 判据的测试表:用坏制品验证裁决者< / a > < a class = "toc-a lv3" href = "03-criteria.html#sec-3-4" > 阈值变更的审批与记录< / a > < a class = "toc-a lv3" href = "03-criteria.html#sec-3-5" > 判据评审:每季度删掉没人被挡住的判据< / a > < / div > < a class = "toc-a" href = "04-submit-merge.html" > < i class = "cn" > 4< / i > 提交与合并门禁的落地< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "04-submit-merge.html#sec-4-1" > 提交门禁: pre-push 钩子与 push 流水线的分工< / a > < a class = "toc-a lv3" href = "04-submit-merge.html#sec-4-2" > 合并门禁:受保护分支、审批人与 pipeline must succeed< / a > < a class = "toc-a lv3" href = "04-submit-merge.html#sec-4-3" > 合并门禁的检查清单( 推荐集、增量覆盖、P0、豁免、空跑) < / a > < a class = "toc-a lv3" href = "04-submit-merge.html#sec-4-4" > 责任方映射表:红点该送给谁< / a > < a class = "toc-a lv3" href = "04-submit-merge.html#sec-4-5" > 两次真实的合并门禁失败复盘< / a > < / div > < a class = "toc-a" href = "05-release.html" > < i class = "cn" > 5< / i > 发布门禁与放行单< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "05-release.html#sec-5-1" > 发布前检查: 全量回归、UI 冒烟、性能基线、数据迁移< / a > < a class = "toc-a lv3" href = "05-release.html#sec-5-2" > 放行单:一张能被机器读一半的表< / a > < a class = "toc-a lv3" href = "05-release.html#sec-5-3" > 缺陷清单与例外:什么情况下允许带缺陷发< / a > < a class = "toc-a lv3" href = "05-release.html#sec-5-4" > 灰度与回滚:发布门禁的最后一公里< / a > < a class = "toc-a lv3" href = "05-release.html#sec-5-5" > 发布后验证与「谁签字」< / a > < / div > < a class = "toc-a" href = "06-failure.html" > < i class = "cn" > 6< / i > 失败处置:重试的边界与误报治理< / a > < div class = "subnav" > < a class = "toc-a lv3" href = "06-failure.html#sec-6-1" > 分诊表:红点先分四类(真缺陷 / 用例问题 / 环境 / 平台)< / a > < a class = "toc-a lv3" href = "06-failure.html#sec-6-2" > 重试的边界:允许几次、什么时候算 flaky< / a > < a class = "toc-a lv3" href = "06-failure.html#sec-6-3" > flaky 用例的认领、隔离与清理< / a > < a class = "toc-a lv3" href = "06-failure.html#sec-6-4" > 误报率的定义与两周实测< / a > < a class = "toc-a lv3" href = "06-failure.html#sec-6-5" > 失败通知的写法:一条通知要带哪五行< / a > < / div > < a class = "toc-a" href = "07-break-glass.html" > < i class =
< div class = "side-foot" >
< a class = "btn" href = "index.html" > ← 模块目录< / a >
< a class = "btn" href = "../../index.html" > 学习路径< / a >
< / div >
< / aside >
< div class = "mask" id = "mask" > < / div >
< main class = "main-col" >
< article >
< div class = "modhero" >
< span class = "mh-no" > 阶段 4 · 提效率 · 模块 4 / 5< / span >
< h1 > 质量门禁与 TestOps< / h1 >
< p class = "mh-sub" > 三段门禁 · 可判定判据 · 失败处置 · 效能度量 · 值班与运营 · 反模式< / p >
< div class = "mh-meta" >
< span > 共 < b > 13< / b > 章< / span >
< span > < b > 60< / b > 个小节< / span >
< span > 约 < b > 59< / b > 千字< / span >
< span > 建议投入 22– 30 小时< / span >
< / div >
< / div >
< p class = "lead" >
< b > 模块定位:< / b > 阶段 4 的第 4 个模块,也是这一阶段的收口:把前三个模块做出来的能力,变成「谁都不能绕过」的机制。< br > < br > < b > 学完之后你应该能:< / b > 设计提交、合并、发布三段门禁,把判据写成可自动执行的检查,处理误报与 break glass, 并用 DORA 四指标与 flaky 榜单把测试工作讲成一组可运营的数字。< br > < br > < b > 学习方式:< / b > 回过头翻一次最近的十次线上问题和十次提测打回:每一条都应该能对应到「哪道门禁该拦下它」。
< / p >
< h2 id = "chapters-list" > 章节目录< / h2 >
< ol class = "chaplist" >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 1< / span >
< a class = "ci-title" href = "01-why.html" > 门禁为什么会被绕过:从「测试做完了吗」到「机器说了算」< / a >
< a class = "ci-go" href = "01-why.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "01-why.html#sec-1-1" > 一次被整体关掉的门禁: 14 道检查与 38% 的绕过率< / a > < a href = "01-why.html#sec-1-2" > 门禁的三个失效模式< / a > < a href = "01-why.html#sec-1-3" > 测试工作的交付物:从报告到机制< / a > < a href = "01-why.html#sec-1-4" > TestOps 的四件事:判据、执行、度量、运营< / a > < a href = "01-why.html#sec-1-5" > 交付物与验收标准< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 2< / span >
< a class = "ci-title" href = "02-three-gates.html" > 三段门禁的职责边界< / a >
< a class = "ci-go" href = "02-three-gates.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "02-three-gates.html#sec-2-1" > 提交门禁:五分钟内告诉提交人有没有踩坏主链路< / a > < a href = "02-three-gates.html#sec-2-2" > 合并门禁:唯一会把问题写进 main 的动作< / a > < a href = "02-three-gates.html#sec-2-3" > 发布门禁:与合并门禁同判据、不同范围< / a > < a href = "02-three-gates.html#sec-2-4" > 三段之间的成本与拦截收益< / a > < a href = "02-three-gates.html#sec-2-5" > 门禁的升级与降级:什么时候加、什么时候撤< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 3< / span >
< a class = "ci-title" href = "03-criteria.html" > 判据台账:把「感觉不行」变成一条命令< / a >
< a class = "ci-go" href = "03-criteria.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "03-criteria.html#sec-3-1" > 可判定判据的三个必要条件与版本化< / a > < a href = "03-criteria.html#sec-3-2" > gates/criteria.yaml: 一条判据的六个字段< / a > < a href = "03-criteria.html#sec-3-3" > 判据的测试表:用坏制品验证裁决者< / a > < a href = "03-criteria.html#sec-3-4" > 阈值变更的审批与记录< / a > < a href = "03-criteria.html#sec-3-5" > 判据评审:每季度删掉没人被挡住的判据< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 4< / span >
< a class = "ci-title" href = "04-submit-merge.html" > 提交与合并门禁的落地< / a >
< a class = "ci-go" href = "04-submit-merge.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "04-submit-merge.html#sec-4-1" > 提交门禁: pre-push 钩子与 push 流水线的分工< / a > < a href = "04-submit-merge.html#sec-4-2" > 合并门禁:受保护分支、审批人与 pipeline must succeed< / a > < a href = "04-submit-merge.html#sec-4-3" > 合并门禁的检查清单( 推荐集、增量覆盖、P0、豁免、空跑) < / a > < a href = "04-submit-merge.html#sec-4-4" > 责任方映射表:红点该送给谁< / a > < a href = "04-submit-merge.html#sec-4-5" > 两次真实的合并门禁失败复盘< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 5< / span >
< a class = "ci-title" href = "05-release.html" > 发布门禁与放行单< / a >
< a class = "ci-go" href = "05-release.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "05-release.html#sec-5-1" > 发布前检查: 全量回归、UI 冒烟、性能基线、数据迁移< / a > < a href = "05-release.html#sec-5-2" > 放行单:一张能被机器读一半的表< / a > < a href = "05-release.html#sec-5-3" > 缺陷清单与例外:什么情况下允许带缺陷发< / a > < a href = "05-release.html#sec-5-4" > 灰度与回滚:发布门禁的最后一公里< / a > < a href = "05-release.html#sec-5-5" > 发布后验证与「谁签字」< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 6< / span >
< a class = "ci-title" href = "06-failure.html" > 失败处置:重试的边界与误报治理< / a >
< a class = "ci-go" href = "06-failure.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "06-failure.html#sec-6-1" > 分诊表:红点先分四类(真缺陷 / 用例问题 / 环境 / 平台)< / a > < a href = "06-failure.html#sec-6-2" > 重试的边界:允许几次、什么时候算 flaky< / a > < a href = "06-failure.html#sec-6-3" > flaky 用例的认领、隔离与清理< / a > < a href = "06-failure.html#sec-6-4" > 误报率的定义与两周实测< / a > < a href = "06-failure.html#sec-6-5" > 失败通知的写法:一条通知要带哪五行< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 7< / span >
< a class = "ci-title" href = "07-break-glass.html" > break glass: 绕过的审批、留痕与统计< / a >
< a class = "ci-go" href = "07-break-glass.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "07-break-glass.html#sec-7-1" > 为什么必须有正规绕过通道< / a > < a href = "07-break-glass.html#sec-7-2" > 审批流:谁批、多快批、事后补< / a > < a href = "07-break-glass.html#sec-7-3" > 留痕: glass_break_id 与 tp_gate_event< / a > < a href = "07-break-glass.html#sec-7-4" > 绕过统计:月度过线警戒线与复盘< / a > < a href = "07-break-glass.html#sec-7-5" > 反面案例: allow_failure 写死在配置里< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 8< / span >
< a class = "ci-title" href = "08-dora.html" > 效能度量: DORA 四指标与测试工作的关系< / a >
< a class = "ci-go" href = "08-dora.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "08-dora.html#sec-8-1" > 四个指标的定义与本项目的口径< / a > < a href = "08-dora.html#sec-8-2" > 数据从哪来:流水线、门禁事件与缺陷单< / a > < a href = "08-dora.html#sec-8-3" > 前置时间被谁吃掉:一次提交 2 天 6 小时的分解< / a > < a href = "08-dora.html#sec-8-4" > 变更失败率与逃逸率:测试最该看的两个数< / a > < a href = "08-dora.html#sec-8-5" > 度量反模式:把指标当 KPI< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 9< / span >
< a class = "ci-title" href = "09-duty.html" > 值班与运营:红了谁响应、看板怎么看< / a >
< a class = "ci-go" href = "09-duty.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "09-duty.html#sec-9-1" > 值班表与响应 SLA< / a > < a href = "09-duty.html#sec-9-2" > 门禁看板:五个必须能一眼看到的数< / a > < a href = "09-duty.html#sec-9-3" > flaky 榜单与「用例健康度」< / a > < a href = "09-duty.html#sec-9-4" > 每周一 30 分钟的质量例会怎么开< / a > < a href = "09-duty.html#sec-9-5" > 月度质量报告的一页纸< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 10< / span >
< a class = "ci-title" href = "10-antipattern.html" > 反模式:门禁堆叠、指标化与形式化< / a >
< a class = "ci-go" href = "10-antipattern.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "10-antipattern.html#sec-10-1" > 门禁堆叠: 14 道检查与人人绕过< / a > < a href = "10-antipattern.html#sec-10-2" > 只看通过率,不看逃逸率< / a > < a href = "10-antipattern.html#sec-10-3" > 把门禁当绩效:改阈值与降级< / a > < a href = "10-antipattern.html#sec-10-4" > 把 nightly 当门禁、把重试当通过< / a > < a href = "10-antipattern.html#sec-10-5" > 机制化:把约定写成脚本与看板< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 11< / span >
< a class = "ci-title" href = "11-lab.html" > 实操:定义并落地三级门禁< / a >
< a class = "ci-go" href = "11-lab.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "11-lab.html#sec-11-1" > 任务书与验收标准< / a > < a href = "11-lab.html#sec-11-2" > 写 gates/criteria.yaml 与三段判据脚本< / a > < a href = "11-lab.html#sec-11-3" > 接进 .gitlab-ci.yml 并制造四次失败验证< / a > < a href = "11-lab.html#sec-11-4" > 门禁事件落库与看板< / a > < a href = "11-lab.html#sec-11-5" > 一个月的拦获、绕过与改进建议< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 12< / span >
< a class = "ci-title" href = "12-cheat.html" > 速查表与高频坑< / a >
< a class = "ci-go" href = "12-cheat.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "12-cheat.html#sec-12-1" > 命令速查< / a > < a href = "12-cheat.html#sec-12-2" > 判据与责任方速查< / a > < a href = "12-cheat.html#sec-12-3" > 高频坑与反模式清单< / a > < / div >
< / li >
< li class = "chap-item" >
< div class = "ci-head" >
< span class = "ci-no" > 13< / span >
< a class = "ci-title" href = "13-checklist.html" > 完成标准与自测< / a >
< a class = "ci-go" href = "13-checklist.html" > 进入 →< / a >
< / div >
< div class = "ci-secs" > < a href = "13-checklist.html#sec-13-1" > 完成标准: 12 条可勾选清单< / a > < a href = "13-checklist.html#sec-13-2" > 自测题与答案要点< / a > < / div >
< / li >
< / ol >
< div class = "box tip" >
< span class = "bt" > 怎么用这一模块< / span >
< p > 左侧第一栏是< b > 章节< / b > ,可以在整章之间跳转;第二栏是< b > 本章小节< / b > ,进入某章后会显示该章的内容大纲并跟随滚动高亮。< / p >
< p > 每章结尾都可以用底部的「上一章 / 下一章」连续阅读。每章内部的代码块右上角可以直接复制,点顶栏的「深色 / 浅色」可以切换主题。< / p >
< / div >
< / article >
< nav class = "pager" >
< a class = "prev" href = "../s4-03-coverage/index.html" > < span class = "k" > ← 上一模块< / span > < span class = "v" > 覆盖率与精准测试< / span > < / a >
2026-10-17 11:25:58 +08:00
< a class = "next" href = "../s4-05-ai-testing/index.html" > < span class = "k" > 下一模块 →< / span > < span class = "v" > AI 辅助测试与智能化< / span > < / a >
2026-10-17 10:49:04 +08:00
< / nav >
< p class = "foot" >
质量门禁与 TestOps · 模块目录< br >
< a href = "../../index.html" > 返回学习路径< / a >
< / p >
< / main >
< / div >
< button id = "toTop" title = "回到顶部" > ↑< / button >
< script src = "../../assets/doc.js" > < / script >
< script src = "../../../../assets/back.js" data-portal-back = "testdev/testdev-learning-path" data-portal-label = "测试开发工程师 › 测试开发从零到成熟学习路径" > < / script >
< / body >
< / html >