doh
美 [do?]
英 [d??] 
- int.唉
- n.大調(diào)音階的第 1 音和第 8 音
- 網(wǎng)絡(luò)衛(wèi)生署(Department of Health);多哈(Doha);Dojo Objective Harness
詞形變化
復(fù)數(shù):dohs
英漢解釋
例句
Every test framework needs to supply you with a method to check the outcome of a unit test and the DOH is no exception.
每個(gè)測(cè)試框架都要為開發(fā)人員提供檢查單元測(cè)試結(jié)果的方法,DOH也不例外。
In the case of demo. doh, it is a module that has a file containing helper functions and a simple DemoWidget.
在demo.doh的示例中,測(cè)試的對(duì)象是一個(gè)模塊,它包含幫助函數(shù)和一個(gè)簡(jiǎn)單DemoWidget。
The DOH also reports the total number of tests run, errors that occurred, and tests that failed.
DOH還會(huì)報(bào)告測(cè)試運(yùn)行、已發(fā)生的錯(cuò)誤以及失敗測(cè)試的總數(shù)。
You know I said -- I went to Play-Doh, and said, look, I can animate this.
你們知道的——我去了培樂多,然后說,看,我能把這做成活動(dòng)的。
It would be great if the DOH provided a mechanism that could still run this HTML file and still display the UI.
要是DOH能提供一個(gè)既能運(yùn)行HTML文件又能顯示UI的機(jī)制就好了。
So, enter the DOH and its facility for handling widget testing in browsers as well as synchronous function testing.
因此,需要借助DOH來處理瀏覽器內(nèi)的小部件測(cè)試及異步函數(shù)測(cè)試。
In other words, the only way the DOH knows an async test passed or failed is if an operation is invoked on the Deferred.
換句話說,DOH得知異步測(cè)試是通過還是失敗的惟一途徑就是:操作是否在延遲操作上被調(diào)用了。
That's great, but it doesn't display the DOH's UI, so it's difficult to tell if tests pass or not.
這很棒,但它沒有顯示DOH的UI,因此,很難斷定測(cè)試是通過了還是沒通過。
"There's a tremendous difference between learning doh-re-mi and being able to arrange a song. "
“學(xué)習(xí)哆來咪和能夠譜寫一首歌之間有著巨大差別。”
Testing the behavior of Ajax requests is one of the most valuable features of the DOH.
測(cè)試Ajax請(qǐng)求的行為是DOH最有價(jià)值的特點(diǎn)之一。
The DOH is truly one of the most complete and effective frameworks for testing JavaScript code.
DOH的確是測(cè)試JavaScript代碼的最完整和最有效的框架之一。
It is recommended that you follow existing conventions until you are comfortable with how the DOH functions.
建議您在熟練掌握DOH工作原理之前,最好遵循現(xiàn)有的約定。
As an analogy, contrast building something using Lego, versus building something using Play-Doh.
以此類推,對(duì)比一下有些建筑使用Lego,而有些建筑則使用Play-Doh。
There were twenty-one racks and more than fifteen hundred machines, each sprouting cables like Play-Doh pushed through a spaghetti press.
屋子里大概有二十一個(gè)架子,一千五百臺(tái)機(jī)器。突出的電纜線就像彩色泥塑從意大利面條壓榨機(jī)壓出來的一樣。
When all test files have been loaded by the DOH the framework automatically executes the tests.
當(dāng)所有測(cè)試文件都由DOH加載后,此框架就會(huì)自動(dòng)執(zhí)行這些測(cè)試。
Because its browser-based interface has access to the XMLHttpRequest object, the DOH can support asynchronous unit tests.
因?yàn)?/c>借助其基于瀏覽器的界面可以訪問XMLHttpRequest對(duì)象,所以DOH可以支持異步單元測(cè)試。
The DOH offers three assertion APIs for use in test verification, as shown in Listing 1.
DOH提供了3個(gè)可在測(cè)試驗(yàn)證中使用的斷言API,如清單1所示。
If any type of exception is thrown in a unit test, the DOH declares the entire test as failed.
如果在一個(gè)單元測(cè)試中有任何類型的異常被拋出,DOH就會(huì)宣布整個(gè)測(cè)試失敗。
Build animal families out of homemade play doh.
用自制橡皮泥做個(gè)動(dòng)物家族。
DOH bans online sales of two Korean eyelash mascara brands.
衛(wèi)生署禁止兩家韓國(guó)眼睫毛膏的網(wǎng)路販賣。
Reduction of DOH through Lean Manufacturing procedures.
利用精益生產(chǎn)流程減少庫(kù)存周轉(zhuǎn)天數(shù)。
You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
只需創(chuàng)建一個(gè)函數(shù)數(shù)組或測(cè)試裝置、然后對(duì)之進(jìn)行注冊(cè),加載后,DOH就會(huì)執(zhí)行它們。
This function lets you point the DOH runner. html UI at a separate HTML file.
此函數(shù)能讓DOHrunner.htmlUI指向另一個(gè)HTML文件。
While the DOH can be daunting for the novice user, it is a flexible and powerful unit testing framework.
盡管DOH對(duì)一個(gè)新手來說有些復(fù)雜,但它的確是一個(gè)靈活且強(qiáng)大的單元測(cè)試框架。
Writing your own test suite with the DOH can appear daunting at first, but it is actually not very difficult.
用DOH編寫自已的測(cè)試套件初看上去很復(fù)雜,但實(shí)際上它并不難。
So, the test, according to the DOH, never reported completion, and therefore, gets timed out.
所以,根據(jù)DOH的報(bào)告,這個(gè)測(cè)試永遠(yuǎn)不會(huì)完成,只會(huì)超時(shí)。
This enables the DOH to report failed tests accurately.
這能使DOH準(zhǔn)確地報(bào)告失敗的測(cè)試。
So, the question that remains is how do you take these test definitions, load them into the DOH's UI, and execute them.
所以,剩下的問題就是如何獲取這些測(cè)試定義、如何將它們加載到DOH的UI中以及如何執(zhí)行它們。
Doh announces suspension of u. s. beef imports.
衛(wèi)生署宣布暫停進(jìn)口美國(guó)牛肉。
Update: Doh, this is from 2007. This cross-country move is throwing me out of wack.
更新:這是從2007年開始算的,這個(gè)全球性的調(diào)查搞得我快要崩潰。
Listing 6 shows a code listing of an HTML file that makes use of the DOH to test demo. doh. DemoWidget.
清單6顯示了一個(gè)HTML文件的代碼清單,這個(gè)HTML文件利用DOH測(cè)試demo.
They said don't talk to us about Play-Doh.
他們說別在和我們提有關(guān)培樂多的事情。
This is also not difficult. You write an HTML file that redirects to the runner. html of the DOH.
其實(shí)這也不難,只需編寫一個(gè)重定向到DOH的runner.html的HTML文件即可。
This is because the DOH (what a great acronym) offers both command-line and browser-based interfaces to the testing framework.
這是因?yàn)?/c>DOH(多好的縮寫名)既提供了命令行界面,也提供了基于瀏覽器的界面來測(cè)試框架。
So, as Listing 6 shows, it is a stand-alone file that runs the DOH.
如清單6所示,運(yùn)行DOH的是一個(gè)獨(dú)立文件。
I like out of season strawberries too, but I know I should wait and just eat the english ones. . . so I am as stupid as the rest. doh.
盡管我也喜歡反季節(jié)草莓,但是我知道我應(yīng)該等下去,只吃英國(guó)自己的……所以我也和其余人一樣愚蠢。
'Doh' might have been one of man's first words. . . Homer Simpson would have been proud
“Doh”或許是人類最早的詞匯之一辛普森應(yīng)該為此自豪
Bringing it all together: Combining the test definitions into a single DOH test suite
把它們放在一起:將測(cè)試定義合并到單個(gè)DOH測(cè)試套件中
g doh lazy seagull fly me from the dark
歐`海鷗從黃昏中懶洋洋地飛向我
Doh! Sugar-rich treats, like doughnuts, can speed up the ageing process
哎!多糖甜品,如甜甜圈,會(huì)加速衰老進(jìn)程。