I'll create an empty file called machine.rb, making the tests pass.
我将创建一个名为machine . rb的空文件,使测试通过。
The second reason is that we tend to end up with scruffy code in multiple-test methods, as we hack around making the tests reasonable.
第二是在我们悠闲地构造合理化测试过程中,我们逐步杜绝了杂乱的代码。
Making the tests equivalent, however, for say a dolphin that lives in the water and a horse that lives on the land is obviously complicated and may prove to be virtually impossible.
使测试都变得相同很明显是复杂的,也可能事实上是不可能的。比如说一只生活在水中的海豚和一匹生活在陆地上的马。
Blind people have been assisting in those tests, making lots of valuable suggestions to the engineers who helped to produce Cyclops.
盲人一直在协助这些测试,他们为帮助生产“独眼巨人”的工程师们提出了许多有价值的建议。
The tests show that the social environment is extremely influential when we're making decisions.
测试表明,社会环境会对我们的决策造成极大的影响。
The tests are suspected to have taken place at a facility Bermudez took the lead in making public this week.
据信这些试验可能是在贝穆德斯本星期最先透露的一个设施内进行的。
But the tests fall down when it comes to measuring those abilities crucial to making good judgements in real-life situations.
但IQ测试并不能测量在实际生活中做出判断所需要的那些至关重要的能力。
If you approach design with a JIT mentality — writing tests for the current iteration's CARDS, then making those tests pass — you can avoid over-designing and having to redesign.
如果您带着一种趋近的思想来处理设计——为当前迭代的素材卡编写测试,然后让这些测试通过——您就可以避免过度设计和重新设计。
When played back, these scripts rerun the tests without having to launch the application, making them faster and lighter than GUI scripts.
当进行回放时,这些脚本不必登陆应用就可以重新运行测试,这使他们比gui脚本执行的更快。
Check out the resources in the following section for more information on choosing the right tests to include in your regression test suite and making sure you're automating them the best way possible.
留意下一部分的资源,获得关于正确选择包含到你的回归测试集的测试的更多信息并确保你正在以最好的方式使它们自动化。
Before making changes to the internal billing package, you could analyze a code coverage report to determine if any tests actually tested the package.
在对内部记帐包作出变更前,您可以分析代码覆盖率报告,以确定是否有任何测试真正测试了这个包。
Not all tests need to be run at all times, particularly if you are making changes in the code that affect only specific modules.
并不需要每次都运行所有测试,尤其是在修改的代码只影响某几个模块的情况下。
Essaidi said that the project was making science fiction a reality, even if the tests results were not yet perfect.
埃萨迪说,这个项目把科幻小说变成了现实,尽管测试结果尚不完美。
But the rules by which they discover tests are somewhat different, and might be worth reviewing before making a choice between the frameworks.
但是,它们采用的测试发现规则不太一样,在选择框架时需要考虑到这一点。
Developers integrate their code into the trunk as often as possible — typically every few hours — while making sure that all the unit tests pass.
开发人员应当尽可能频繁地把他们的代码集成进主干——典型的是几小时一次,同时还要确保所有单元测试都能通过。
Additionally, the other applications may be changing data on the backend resources, making repetitive tests difficult or impossible.
此外,其他应用程序可能在更改后端资源上的数据,这将增加重复测试的困难,甚至不可能进行。
In tests, Dr Dunn and his co-authors found the link between gut feelings and intuitive decision-making to be stronger in people who were more aware of their own heartbeat.
在测验中,邓恩博士和他的搭档发现了,直觉和预感之间的联系使那些更加关注自己内心想法的人更坚强。
In this particular set of tests, I sat a few meters behind the participant and facilitator, watching and making notes on everything that was going on.
在这种特殊的测试下,我坐在参与者后面几米远的地方,观察并记录发生的所有事情。
It encourages communication by making your programs self-documenting-the set of tests you develop show how the code works in a way that a manual can't.
你开发的一系列测试说明了代码的运行机制,这种程序自我编档的方式促进了交流。
He also tests making a call, and the bars continuously drop, but they haven't dropped the call.
他同时测试进行通话,信号格一直在减少但是并没有断线。
Analysts are responsible for making sure that requirements are testable, and that we specify clear requirements for the tests to be performed.
分析师对确定需求的可测试性负责,而且我们还要明确对测试的需求。
At the same time, both screening tests are not making much of a dent in the number of cancers that are deadly.
与此同时,这两种筛查对于致命癌症数量的多寡无伤大雅。
Mark suggested that a way to save the current project would be by writing a load of acceptance tests and executing them before making a release to the customer.
Mark提出:写大量验收测试,并在软件发布给客户之前运行这些测试,是拯救当前项目的一种方式。
You can also perform a series of tests by clicking on the links on the Web Primitives page and making sure each one executes without errors.
您还可以执行一系列测试:单击WebPrimitives页面中的链接,确保每个链接执行没有错误。
The 2011 BMW 5 Series sedan earned the top rating in each of the institute's crash tests, making the car officially one of the 2011 safest cars.
2011年宝马五系轿车在保险机构的各个撞车实验中名列前茅,该轿车成为2011年官方公布的最安全汽车。
In 2008, laboratory tests showed INX-189 killed 90 per cent of the virus at very low (nanomolar) concentration, making it the most potent compound of its kind developed to date.
在2008年,实验室研究表明INX-189在非常低的浓度下(纳摩尔级)就可以杀死90%的病毒,成为同类化合物中迄今为止的最强效的。
The running tests showed that the processor could remove scale and keep from corrosion effectively and had a characteristic of low making and running costs, high efficiency, and no second pollution.
运行测试表明,静电除垢装置能有效地起阻垢、除垢、防腐作用,并具有制造成本、运行费用低,效率高,无二次污染等特点。
By optimizing design and conducting a series of tests, a kind of special vermicular iron with excellent properties was chosen as the material for making the braking disc.
通过优化设计并进行了大量的试验,选择了综合性能优异的特种蠕墨铸铁作为制动盘材料。
The tests reveal that lead is commonly found in lipstick, and that companies are making products with lead levels all over the board.
这个测试说明铅在唇膏中可以被发现,这些公司正在生产含铅的产品。
We provide weekly tests to see the progress you're making with your language skills of reading, writing, speaking and listening.
我们提供周测验以检测你在听、说、读、写各方面语言技能上所取得的进步。
应用推荐