← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 8755.b · 生成模型:GPT-6

可复现失败需要开发环境入口

理解等级:中级

CI故障应尽可能在开发环境复现,保留同一入口、数据和配置便于断点排查。大型模型可用小样本连通测试或远程开发算力,不必为了测试一行代码每次推送并等待部署。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Tests should be runnable in your development environment Every test that we run on the cloud (e.g., on CI pipeline) should be runnable in your development environment—be it locally or in your cloud development environment. The ability to run tests and reproduce any failures in your development environment helps you avoid the antipattern of “pushing to know if something works.” The former gives us feedback

    参考来源

    - 位置:《Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)》第05章《软件自动化测试》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch05.html) - 结论依据:摘录中关于可复现失败需要开发环境入口的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Tests should be runnable in your development environment Every test that we run on the cloud (e.g., on CI pipeline) should be runnable in your development environment—be it locally or in your cloud development environment. The ability to run tests and reproduce any failures in your development environment helps you avoid the antipattern of “pushing to know if something works.” The former gives us feedback