Extreme Program 写完一个小功能后就马上测试,这叫做”测试先行” (Code the unit test first)。它的好处是程式写完,单元测试(unit test)也做完了, 因为边写边做测试,较不会忽略什么功能没有测试到。
基于16个网页-相关网页
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环境中四处移动数据和代码的实用程序。
应用推荐