在编写解决方案时,很容易做出无效的假设。
It's easy to make invalid assumptions when coding a solution.
首先,我将打消想要执行tdd的念头并且只是编写解决方案,然后为它编写测试。
First, I'll turn off the part of my brain that wants to do TDD and just write the solution, then write the tests for it.
传统的、面向瀑布的方法会导致以下循环:记录所有的需求、分析这些需求、设计解决方案、编写解决方案代码、最后测试它。
Using a traditional waterfall-oriented process leads to a cycle of write all the requirements, analyze the requirements, design a solution, code the solution, and then finally test it.
应用推荐