编写单元测试 meaning in English
writing the unit tests
Examples
- Logging is a good coding habit that developers must acquire , like writing unit tests , handling exceptions , or writing javadoc comments
日志记录是开发人员必须养成的良好编码习惯,就像编写单元测试、处理异常或者编写javadoc注释一样。 - To test a web service this way , you could generate unit tests , or you could write a unit test by hand and mark it with this attribute
若要以此方式测试web服务,可以生成单元测试,也可以手动编写单元测试并使用此属性对单元测试进行标记。 - This framework deserves praise for introducing the idea of test - driven development to java developers and teaching them how to effectively write unit tests
这个框架值得称赞,因为它把测试驱动的开发思想介绍给java开发人员并教给他们如何有效地编写单元测试。 - Developer testing decreases the risk of defects in code , so many development teams now require that unit tests be written alongside newly developed or modified code
开发人员的测试可以降低代码中存在缺陷的风险,因此现在很多开发团队在新开发和更改代码的同时需要编写单元测试。 - These attributes are assigned automatically when unit tests are generated ; when you code unit tests by hand , you have to add class and method attributes yourself
属性标记的测试方法。这些属性是在生成单元测试时自动分配的;如果是手动编写单元测试代码,则必须自行添加类和方法的属性。