DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- This is because the DOH ( what a great acronym) offers both command-line and browser-based interfaces to the testing framework.
这是因为DOH(多好的缩写名)既提供了命令行界面,也提供了基于浏览器的界面来测试框架。 - As previously mentioned, the DOH provides a command-line interface as well as a browser-based interface.
前面提到过,DOH既提供命令行界面,又提供了基于浏览器的界面。 - When the unit tests are invoked, the DOH reports any errors that occurred and the specific test that has failed.
当调用单元测试时,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所报告的错误。 - 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也不例外。 - You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
只需创建一个函数数组或测试装置、然后对之进行注册,加载后,DOH就会执行它们。 - 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的机制就好了。 - Testing stand-alone functions, both synchronous and asynchronous, in the DOH
在DOH中同步和异步地测试独立函数 - If any type of exception is thrown in a unit test, the DOH declares the entire test as failed.
如果在一个单元测试中有任何类型的异常被抛出,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。