Listing 1 contains the code, as well as my first test. (I hope I don't need to convince you of the value of writing unit tests.)
清单1是相关代码和第一个测试(您一定明白编写单元测试的重要性,这里就不多说了)。
At first it’s faster to write code without tidying up, without writing unit tests, without doing Test Driven Development, so the team churns out more stories.
项目编码初期,不整理代码,不写单元测试,也不做测试驱动开发,整个团队粗制滥造出更多的“故事场景”。
This first version of the product does not include utilities to help you move data and code around the mainframe and the Unit Test environment.
这个产品的首个版本不包含帮助您在大型机内和Unit Test环境中四处移动数据和代码的实用程序。
The first is that when a small unit test fails, you know exactly which criteria your code doesn't meet.
第一是当一个小的单元测试失败时,你可以准确地知道你的代码不满足哪个条件。
You may prefer to write the unit test before making any code fixes in a test-first development strategy.
在测试先行的开发策略中,您可能更愿意在进行任何代码修复之前编写单元测试。
You may prefer to write the unit test before making any code fixes in a test-first development strategy.
在测试先行的开发策略中,您可能更愿意在进行任何代码修复之前编写单元测试。
应用推荐