DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- The DOH has a another test registration function called doh. registerUrl().
DOH有另外一个测试注册函数,名为doh.registerUrl()。 - 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所报告的错误。 - It is recommended that you follow existing conventions until you are comfortable with how the DOH functions.
建议您在熟练掌握DOH工作原理之前,最好遵循现有的约定。 - The DOH also reports the total number of tests run, errors that occurred, and tests that failed.
DOH还会报告测试运行、已发生的错误以及失败测试的总数。 - The DOH uses Rhino, an open-source JavaScript engine written in Java ™ code, for its command-line interface.
DOH为其命令行界面还使用了Rhino,一个用Java™代码编写的开源JavaScript引擎。 - When the unit tests are invoked, the DOH reports any errors that occurred and the specific test that has failed.
当调用单元测试时,DOH就会报告所有已发生的错误及失败的特定测试。 - This is because the DOH ( what a great acronym) offers both command-line and browser-based interfaces to the testing framework.
这是因为DOH(多好的缩写名)既提供了命令行界面,也提供了基于浏览器的界面来测试框架。 - You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
只需创建一个函数数组或测试装置、然后对之进行注册,加载后,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。