DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- The test case structure is illustrated by using a demonstration module, demo. doh, that is placed as a peer module to the Dojo directory structure.
通过一个示范模块demo.doh,可以说明测试用例结构,该模块作为一个Dojo目录结构的对等模块。 - The reason to only have a few asserts per test is that it makes it quicker to isolate the failure in the test from the error the DOH reports.
每个测试只有少数几个断言,其原因是这样做能更快地区分出测试失败和DOH所报告的错误。 - If any type of exception is thrown in a unit test, the DOH declares the entire test as failed.
如果在一个单元测试中有任何类型的异常被抛出,DOH就会宣布整个测试失败。 - Testing stand-alone functions, both synchronous and asynchronous, in the DOH
在DOH中同步和异步地测试独立函数 - Well, you define an HTML file that instantiates the DOH, instantiates widgets, then defines the test functions to execute.
首先定义一个HTML文件来实例化此DOH、小部件,然后定义要执行的测试函数。 - When the unit tests are invoked, the DOH reports any errors that occurred and the specific test that has failed.
当调用单元测试时,DOH就会报告所有已发生的错误及失败的特定测试。 - Every test framework needs to supply you with a method to check the outcome of a unit test and the DOH is no exception.
每个测试框架都要为开发人员提供检查单元测试结果的方法,DOH也不例外。 - The DOH uses Rhino, an open-source JavaScript engine written in Java ™ code, for its command-line interface.
DOH为其命令行界面还使用了Rhino,一个用Java™代码编写的开源JavaScript引擎。 - That's great, but it doesn't display the DOH's UI, so it's difficult to tell if tests pass or not.
这很棒,但它没有显示DOH的UI,因此,很难断定测试是通过了还是没通过。 - Because the callback runs later, it cannot be easily try/ catch caught by the DOH when there is a failure, like it does for a synchronous test.
因为回调运行得较晚,所以当故障出现时,DOH很难通过try/catch捕捉到,就如同在同步测试中一样。