DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- In the case of demo. doh, it is a module that has a file containing helper functions and a simple DemoWidget.
在demo.doh的示例中,测试的对象是一个模块,它包含帮助函数和一个简单DemoWidget。 - Because the callback runs later, it cannot be easily try/ catch caught by the DOH when there is a failure, like it does for a synchronous test.
因为回调运行得较晚,所以当故障出现时,DOH很难通过try/catch捕捉到,就如同在同步测试中一样。 - Bringing it all together: Combining the test definitions into a single DOH test suite
把它们放在一起:将测试定义合并到单个DOH测试套件中 - But several tobacco manufacturers sued the DoH, questioning the validity of the administrative order.
但是一些烟草制造商起诉卫生部,对行政法令的有效性提出质疑。 - When the unit tests are invoked, the DOH reports any errors that occurred and the specific test that has 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的实例之间建立一座桥梁。 - You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
只需创建一个函数数组或测试装置、然后对之进行注册,加载后,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所报告的错误。 - The DOH also provides a powerful UI that shows success, failures, and even what errors were thrown.
DOH还提供了一个强大的UI,可用来显示成功或失败甚至抛出的错误。 - This is because the DOH ( what a great acronym) offers both command-line and browser-based interfaces to the testing framework.
这是因为DOH(多好的缩写名)既提供了命令行界面,也提供了基于浏览器的界面来测试框架。