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目录结构的对等模块。 - So, the question that remains is how do you take these test definitions, load them into the DOH's UI, and execute them.
所以,剩下的问题就是如何获取这些测试定义、如何将它们加载到DOH的UI中以及如何执行它们。 - 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、小部件,然后定义要执行的测试函数。 - You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
只需创建一个函数数组或测试装置、然后对之进行注册,加载后,DOH就会执行它们。 - In the case of demo. doh, it is a module that has a file containing helper functions and a simple DemoWidget.
在demo.doh的示例中,测试的对象是一个模块,它包含帮助函数和一个简单DemoWidget。 - The DOH also provides a powerful UI that shows success, failures, and even what errors were thrown.
DOH还提供了一个强大的UI,可用来显示成功或失败甚至抛出的错误。 - 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所报告的错误。 - This enables the DOH to report failed tests accurately.
这能使DOH准确地报告失败的测试。 - 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,因此,很难断定测试是通过了还是没通过。