为什么呢?因为该代码块指定了在测试正确的情况下,我将进行的一系列操作。
Why? Because that block identifies a set of things that I'm going to do if the test is true.
这么多高清晰电视在假日高峰测试期间同时使用,以至于几年前有个时间,我不得不把一台推到床下。
So many high-definition TVs arrive during the peak holiday testing period that at one point a few years ago, I had to shove one under a bed.
在亲自测试这个小男孩之前,我不信他能认识5000个词。
I won't believe that the little boy can read five thousand words until I test him myself.
得到了这样的信息之后,我在测试集的末尾添加了一条良好的消息。
Armed with this information, I added a single good message to the end of my test set.
根据前面简单的单元测试用例,这块代码是“干净,绿色”的——但只有在我真正彻底地测试这块代码的情况下这才有意义。
So the code is "clean and green," according to my simple unit test case — but that's meaningful only if I'm really testing the code thoroughly.
在本文中,我将介绍测试用方面实现的横切行为的一组技术。
In this article, I introduce a catalog of techniques for testing crosscutting behavior implemented with aspects.
在本文中,我从测试的角度对覆盖进行了研究,但对于覆盖的使用显然还有其他一些方式。
In this article, I've looked at coverage from the testing standpoint, but there are obviously other ways the information can be used.
有了这些原理之后,要注意,我在测试方法中制订了一些设计决策。
With the mechanics out of the way, note that I made a few design decisions in my test method.
相比去年的型号最大的缺点,至少在我的测试中,是播放控制方面。
The most significant drawback compared to last year’s model, at least in my testing, has to do with playback control.
在测试设置中,我选择的是crc模式。
在我的测试中,该方法恰当地处理了所有被NumberFormat .parse (String)忽略的情况。
In my testing, the method properly handled all of the conditions missed by NumberFormat.parse (String).
在我的测试中,两台电脑中较小的那台坚持了近五个小时(仅差几分钟),较大的那台坚持了5小时21分钟。
The smaller of the two machines lasted a few minutes shy of five hours in my test. And the larger one lasted five hours and 21 minutes.
在我的测试中,虚表上的查询比做同样查询的TimeSeries函数要慢一个数量级。
In my tests, it can be an order of magnitude slower than a TimeSeries function that does the same query.
我在集成测试故事框架制作上的问题,最近的RSpec1.1已经可以实现了,这看上去很有趣。
My problems with integration tests made the Story Framework, newly available in RSpec 1.1, look very interesting.
我在测试中使用了Flock的最新版本2.0,它是基于火狐新的3.0浏览器构建的。
In my tests, I used the latest edition of Flock, version 2.0, which is built on the new Firefox 3.0 browser.
在我的电池测试中,我关闭了所有节电模式,开着Wi - Fi网络,把屏幕亮度调到100%,并不停地循环播放音乐。
In my battery test, I turn off all power-saving features, leave the Wi-Fi network on, crank up the screen to 100% brightness, and play a continuous loop of music.
在我的测试中,对和调用deepcopy要比清单6中的代码慢15%。
In my tests, calling deepcopy for both and was 15 percent slower than the code in Listing 6.
在早期测试中,我将服务器修改为在大约每三个系统调用中随机崩溃一次,用这种方法来测试重新启动功能。
During early testing, I ran pseudo with the server modified to randomly crash about one syscall in three, with the intent of carefully testing this functionality.
我还通过在周围移动测试位置来改变测试条件。
在我查看这段测试脚本时,我看到了某些我想要能够在许多其它脚本——执行一个搜索(图1)——中做的东西。
When I look at this test script, I see something that I know I will want to be able to do in many other scripts - perform a search (Figure 1).
所以不是包括进我的第一、二测试页面,而是在我新访谈的父母亲上测试。
So rather than including this page with my A/B tests, I instead tested it with new parents I interviewed.
在我有限的测试中,我更喜欢PHPIDE项目插件,因为我感觉它集成得更好,而且代码智能特性的性能似乎更快捷。
In my limited testing, I preferred the PHP IDE Project plug-in because it felt better integrated to me, and the performance of the code intelligence features seemed snappier.
在我的测试中,两种安装都可以进行,不过后一种可能要花更长的时间。
In my tests, both types of installations went OK, though the latter could take a long time.
因为大多数时间我就是想要获得我正运行的方法的方法信息,以在我的测试环节中达到记录日志的目的。
Because most of the time I really just want to get the method info of the method I'm currently running, for logging purposes during my test suites.
我在测试中按照各种不同情况对此进行了测试,每次都取得了成功。
In my tests, I was repeatedly successful in doing this in a variety of scenarios.
我在测试中按照各种不同情况对此进行了测试,每次都取得了成功。
In my tests, I was repeatedly successful in doing this in a variety of scenarios.
应用推荐