| 1. | Write unit tests before you write the code 在编写代码之前编写单元测试。 |
| 2. | Write unit test programs for your code 为你的代码编写单元测试程序。 |
| 3. | You accomplish several quality goals by writing unit tests first 您通过首先编写单元测试来完成几个质量目标: |
| 4. | You can write unit tests by hand or generate them automatically 既可以手动编写单元测试,也可以自动生成它们。 |
| 5. | You would write the unit tests , run them , and see that they fail 你将编写单元测试程序,运行他们,看到他们运行失败。 |
| 6. | Write unit tests 编写单元测试。 |
| 7. | When you re dealing with simple data or service objects , writing unit tests is straightforward 当您正在处理简单数据或服务对象时,编写单元测试很简单。 |
| 8. | Mock objects are a useful way to write unit tests for objects that act as mediators . instead of calling the real 模仿对象( mock object )是为起中介者作用的对象编写单元测试的有用方法。 |
| 9. | The unit testing framework provides numerous additional assert classes and other classes that give you flexibility in writing unit tests 单元测试框架提供了众多的附加assert类和其他类,为您编写单元测试带来了极大的灵活性。 |
| 10. | I will then show you how i would write a unit test for this class , after which i will add the unit test to the build process 然后,我会告诉您我是如何为这个类编写单元测试,以及在编写完它以后又是如何将单元测试添加到构建过程中的。 |