DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- When all test files have been loaded by the DOH the framework automatically executes the tests.
当所有测试文件都由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中以及如何执行它们。 - I play sport on my computer 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的实例之间建立一座桥梁。 - 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捕捉到,就如同在同步测试中一样。 - You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
只需创建一个函数数组或测试装置、然后对之进行注册,加载后,DOH就会执行它们。 - The DOH also provides a powerful UI that shows success, failures, and even what errors were thrown.
DOH还提供了一个强大的UI,可用来显示成功或失败甚至抛出的错误。 - When the unit tests are invoked, the DOH reports any errors that occurred and the specific test that has failed.
当调用单元测试时,DOH就会报告所有已发生的错误及失败的特定测试。 - Because its browser-based interface has access to the XMLHttpRequest object, the DOH can support asynchronous unit tests.
因为借助其基于浏览器的界面可以访问XMLHttpRequest对象,所以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框架对如何定义和加载测试的要求很灵活,通常可以修改加载流程以适合您具体的结构。