知识卡片
可信检查减少人工绕过动机
不稳定测试会让团队浪费时间并降低对红灯的信任,应定位根因而非长期容忍。快速检查可在本地或编辑器运行,重检查按提交、主干或周期分层。所选门禁应有明确可维护的通过标准,例外若必要也应有范围与期限,避免把新回归淹没在长期失败中。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter 5. Tooling CI Principles · 查看原书依据
flaky test: sometimes it passes and sometimes it fails, even when the setup and codebase are identical. Whenever possible, be ruthless with flaky tests: hunt them down, and put in the time up front to investigate and fix the cause of the flakiness—it will pay for itself in the long run. Another common waste of engineering time is a CI system that takes a lon
参考来源
- 位置:《Effective Rust 35 Specific Ways to Improve Your Rust Code (David Drysdale)》第5章《CI Principles》(spine9;extracted/Effective Rust 35 Specific Ways to Improve Your Rust Code (David Drysdale)/_epub-src/OEBPS/ch05.html;u164-ch05-035)。
- 结论依据:原文在“flaky test”附近的定义、例子或代码支撑本卡核心说明:不稳定测试会让团队浪费时间并降低对红灯的信任,应定位根因而非长期容忍。边界按已读前提解释;示例未执行。
- 原始内容:flaky test: sometimes it passes and sometimes it fails, even when the setup and codebase are identical. Whenever possible, be ruthless with flaky tests: hunt them down, and put in the time up front to investigate and fix the cause of the flakiness—it will pay for itself in the long run. Another common waste of engineering time is a CI system that takes a lon