gpt4 book ai didi

tdd - 为什么 TDD 'Spikes' 被称为“尖峰”?

转载 作者:行者123 更新时间:2023-12-03 06:52:28 26 4
gpt4 key购买 nike

测试驱动开发人员指的是一种快速、探索性的调查,其中涉及编写代码以查看其是否有效,即峰值

知道他们为什么想出这个词吗?

更新:肯特·贝克 (Kent Beck) 的造词对我来说看起来像是“原始”的,尽管在我看来他对这个词的使用没有多大意义。编写一个快速测试就是“让项目突飞猛进”?

有趣的是,他似乎停止使用这个词,因为它对不同的人有不同的含义 - 请参阅下面的证据!

最佳答案

沃德·坎宁安 (Ward Cunningham) 在 WardsWiki 上写道(引用肯特·贝克):

I would often ask Kent, "What is the simplest thing we can program that will convince us we are on the right track?" Such stepping outside the difficulties at hand often led us to simpler and more compelling solutions. Kent dubbed this a Spike. I found the practice particularly useful while maintaining large frameworks.

肯特·贝克 (Kent Beck) 在 Guide to Better Smalltalk 中写道:

Sometimes I call this a "spike," because we are driving a spike through the entire design. [...] Because people variously associate "spike" with volleyball, railroads, or dogs, I have begun using "architectural prototype" to describe this implementation.

关于tdd - 为什么 TDD 'Spikes' 被称为“尖峰”?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/249969/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com