DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- Because its browser-based interface has access to the XMLHttpRequest object, the DOH can support asynchronous unit tests.
因为借助其基于浏览器的界面可以访问XMLHttpRequest对象,所以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的实例之间建立一座桥梁。 - The DOH uses Rhino, an open-source JavaScript engine written in Java ™ code, for its command-line interface.
DOH为其命令行界面还使用了Rhino,一个用Java™代码编写的开源JavaScript引擎。 - It would be great if the DOH provided a mechanism that could still run this HTML file and still display the UI.
要是DOH能提供一个既能运行HTML文件又能显示UI的机制就好了。 - 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中以及如何执行它们。 - This is because the DOH ( what a great acronym) offers both command-line and browser-based interfaces to the testing framework.
这是因为DOH(多好的缩写名)既提供了命令行界面,也提供了基于浏览器的界面来测试框架。 - When the unit tests are invoked, the DOH reports any errors that occurred and the specific test that has failed.
当调用单元测试时,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框架对如何定义和加载测试的要求很灵活,通常可以修改加载流程以适合您具体的结构。 - 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所报告的错误。 - As previously mentioned, the DOH provides a command-line interface as well as a browser-based interface.
前面提到过,DOH既提供命令行界面,又提供了基于浏览器的界面。