DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- 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,因此,很难断定测试是通过了还是没通过。 - When all test files have been loaded by the DOH the framework automatically executes the tests.
当所有测试文件都由DOH加载后,此框架就会自动执行这些测试。 - As previously mentioned, the DOH provides a command-line interface as well as a browser-based interface.
前面提到过,DOH既提供命令行界面,又提供了基于浏览器的界面。 - The DOH framework is extremely flexible in how tests can be defined and loaded, so often the load flow can be modified to suit your particular structure.
DOH框架对如何定义和加载测试的要求很灵活,通常可以修改加载流程以适合您具体的结构。 - Bringing it all together: Combining the test definitions into a single DOH test suite
把它们放在一起:将测试定义合并到单个DOH测试套件中 - If any type of exception is thrown in a unit test, the DOH declares the entire test as failed.
如果在一个单元测试中有任何类型的异常被抛出,DOH就会宣布整个测试失败。 - 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的实例之间建立一座桥梁。 - 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中以及如何执行它们。 - 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 uses Rhino, an open-source JavaScript engine written in Java ™ code, for its command-line interface.
DOH为其命令行界面还使用了Rhino,一个用Java™代码编写的开源JavaScript引擎。