DoH
英 [dəʊ]
美 [doʊ]
abbr. (英国)卫生部
BNC.18001
牛津词典
abbr.
- (英国)卫生部
(in Britain) Department of Health
双语例句
- This is the only way to succeed in your mission and conquer 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所报告的错误。 - 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中以及如何执行它们。 - Because its browser-based interface has access to the XMLHttpRequest object, the DOH can support asynchronous unit tests.
因为借助其基于浏览器的界面可以访问XMLHttpRequest对象,所以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引擎。 - Bringing it all together: Combining the test definitions into a single DOH test suite
把它们放在一起:将测试定义合并到单个DOH测试套件中 - It is recommended that you follow existing conventions until you are comfortable with how the DOH functions.
建议您在熟练掌握DOH工作原理之前,最好遵循现有的约定。 - When all test files have been loaded by the DOH the framework automatically executes the tests.
当所有测试文件都由DOH加载后,此框架就会自动执行这些测试。 - You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
只需创建一个函数数组或测试装置、然后对之进行注册,加载后,DOH就会执行它们。