DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- As previously mentioned, the DOH provides a command-line interface as well as a browser-based interface.
前面提到过,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也不例外。 - When all test files have been loaded by the DOH the framework automatically executes the tests.
当所有测试文件都由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。 - Well, you define an HTML file that instantiates the DOH, instantiates widgets, then defines the test functions to execute.
首先定义一个HTML文件来实例化此DOH、小部件,然后定义要执行的测试函数。 - The DOH also provides a powerful UI that shows success, failures, and even what errors were thrown.
DOH还提供了一个强大的UI,可用来显示成功或失败甚至抛出的错误。 - Effectively, what the DOH does is create a bridge between an instance of the DOH running in an HTML file in an iframe and the instance of the DOH running its UI and stand-alone tests.
实际上,DOH所做的就是要在HTML文件(iframe内)内运行的DOH的实例和运行其UI和独立测试的DOH的实例之间建立一座桥梁。 - You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
只需创建一个函数数组或测试装置、然后对之进行注册,加载后,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,因此,很难断定测试是通过了还是没通过。 - If any type of exception is thrown in a unit test, the DOH declares the entire test as failed.
如果在一个单元测试中有任何类型的异常被抛出,DOH就会宣布整个测试失败。