Normal TDD writes only enough code to make a test fail.
标准的 TDD 只编写能够使一个测试失败的足够多的代码。
As I said last month, writing just enough code to make a test pass keeps code simpler and keeps me focused on the task at hand.
正如我上月所述,编写足够的代码以使测试通过可以简化程序代码,从而有更多的精力关注手边的工作。
Now, let's try to make a test suite using Boost that tests a software product the way an external tool user typically sees it done.
现在,我们使用Boost创建一个测试套件,以外部工具用户常见的方式测试软件产品。
You can also perform a test. Take some of the material and add enough water to it to make it seem like you are making bread.
VOA: special.2009.09.14
A test suite that will make us feel good about things. For now, I just want you to be aware that you're always doing this balancing act.
测试集呢?一个测试集会让我们的工作,变的舒服多了,现在,我只是想让,大家意识到你们经常需要做这种协调工作。
And then we're going to try a demo to see if we can convince ourselves that the kind of calculations we make work out perfectly, and we'll do a test up here about half way through class.
然后我们将会尝试演示去看看,是否可以确信我们能够很好的,做出这个类型的计算,我们将在课程中做一个测试。
应用推荐