编写单元测试 meaning in English
writing the unit tests
Examples
- Write unit tests
编写单元测试。 - When you re dealing with simple data or service objects , writing unit tests is straightforward
当您正在处理简单数据或服务对象时,编写单元测试很简单。 - Mock objects are a useful way to write unit tests for objects that act as mediators . instead of calling the real
模仿对象( mock object )是为起中介者作用的对象编写单元测试的有用方法。 - The unit testing framework provides numerous additional assert classes and other classes that give you flexibility in writing unit tests
单元测试框架提供了众多的附加assert类和其他类,为您编写单元测试带来了极大的灵活性。 - 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
然后,我会告诉您我是如何为这个类编写单元测试,以及在编写完它以后又是如何将单元测试添加到构建过程中的。