知识卡片

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

先写可检验预期帮助拆分问题

理解等级:中级

TDD先表达某个所需行为并确认测试会失败,再最小实现使其通过,以短循环推进。适合预期清楚的转换或接口;尚未发现合理模型行为时应结合探索,不机械要求所有模型指标先验已知。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Test-driven development is a software engineering practice that emphasizes writing tests before writing code. With TDD, developers write automated tests that define the desired functionality of a feature or component, then write code to make those tests pass.

    参考来源

    - 位置:《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) - 结论依据:摘录中关于先写可检验预期帮助拆分问题的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Test-driven development is a software engineering practice that emphasizes writing tests before writing code. With TDD, developers write automated tests that define the desired functionality of a feature or component, then write code to make those tests pass.