It's where it tests your attention span and what you actually miss that's going on in front of you.
它在于测试我们的注意力的幅度和实际上被我们忽略的正在眼前发生的事。
IQ tests ask you to complete verbal and visual analogies, to envision paper after it has been folded and cut, and to deduce numerical sequences, among other similar tasks.
智商测试要求你完成语言和视觉上的类比,想象纸张折叠和剪切之后的样子,推断数字序列,以及其他类似的任务。
Most importantly, it assumes you have programmer tests -- and that they all pass all the time.
最重要的是,它假设您做过程序员测试――并且这些测试 每一次都全部通过。
It allows you to organize tests in a hierarchy.
它允许您在层次结构中组织测试。
This means that you can use it in any number of different circumstances: unit tests, production code, and so on.
这意味着您可以在不同的情况下使用它:单元测试、生产代码,等等。
This function does just what you would think: It tests if a number is even.
该函数的功能正如您所想:它测试一个数是否是偶数。
It is also essential preparation for Part 3, where you will run tests on increasing sizes of user loads.
它还为第3部分打下了基础,在第3部分中,您将运行不同用户负载规模的测试。
Then it lists out the tests for you — this is the automated selected tests report.
然后它会为您列出测试:这就是自动选择的测试报告。
It allows you to automatically and easily execute tests.
它允许您自动而又方便地执行测试。
While the integration test client does not yet have full-featured test case support, it does allow you to save and rerun tests.
虽然集成测试客户端尚不具有功能齐全的测试用例支持,但它确实可以让您保存并重新运行测试。
Code coverage is useful in that it shows you that your tests do what you think they do.
当代码覆盖能够反映出你的测试代码确实正按你命令行事的时候,它们是有用的。
It follows that you could also write these two particular tests simultaneously, and early.
接着您还可以同时并及早地编写这两个特别的测试。
As you write tests first and get them to pass, you're letting the code tell you what it wants to do and become.
在您先编写测试并通过测试这个过程中,您正在让代码告诉您它想要做什么,以及会成为什么。
If the application fails the tests, you can send it back to development before it is moved into production — where a failure can have huge consequences.
如果应用程序经过测试是失败的,你可以将它在产品成型之前返回到开发部门——这样就避免了后期巨大的损失。
Even if you have a large, untested legacy code base, start writing tests for it now.
即使您有一个大规模的未经测试的遗留代码基础,现在就开始为它编写测试吧。
Based around plain text descriptions of application behaviour, it lets you write integration tests with good reuse and good diagnostic reporting.
基于纯文本的应用程序行为描述,她可以让你写出可重用且有很好的诊断报告的集成测试用例。
In this case, the test runner reminds you that it skipped the tests, but it won't actually fail you.
在这种情况下,运行测试提醒您它虽然跳过了测试,但是它不会使您失望。
If you think a piece of code is confusing, write unit tests for it.
如果你觉得一段代码难于理解,那么就写一个单元测试。
If you write real documentation, write tests that verify every statement you make in it.
如果你写了实际的文档,写写测试来验证一下其中的陈述。
Testing is good, so do it all the time by writing tests before you write code.
测试也是个好的做法,因此总是通过在编写代码之前编写测试来做到。
If you are going to bet on a reusable software asset and advertise it to the world you need to have a suite of regression tests for it.
如果你要在可重用软件资产上押宝,把它推广到全世界,那你必须要有一套回归测试套件。
But again, when it is time to run your tests, if you have everything set up properly, it is easier to see which platforms or configurations you have or haven't tested.
但当是时候运行测试时,如果您适当地设置了每样东西,那么看到哪些平台或配置您已经或还没测试就比较容易了。
The second form is preferable because it tests explicitly for the range of values you consider to be valid.
第二种形式比较好,因为它显式地检测了您认为有效的值的范围。
If you don't have unit tests, it might be a good idea to start introducing them in this stage (if you didn't get around to it in the "get it running" stage, for example).
如果您没有单元测试,那么在这个阶段引入它可能是个好主意(例如,如果您在“使它运行”阶段没有找到使用它的机会)。
It is important that you understand the recommendations in the context of the tests that support them.
在支持的测试环境中理解这些建议至关重要。
It allows you to run tests that you've created in an automated fashion.
它允许您运行您创建的自动化测试。
PureCoverage has another benefit when writing tests: it tells you when to stop.
当编写测试时,PureCoverage还有另一个好处:它将告诉您何时应该停止。
It not only motivates programmers to write tests, it also promotes teamwork and bonding through "You broke the build!" games.
它不但激发程序员去编写测试用例,而且还通过“Youbrokethebuild !”游戏促进了团队之间的合作和融合。
Now that you have completed the entire configuration required for the test application client project, you will run the client so that it will run all the JUnit tests for you.
既然您已经完成了这个测试应用客户端项目的整个配置需求,那么现在您将运行这个客户端项目,从而它就可以运行所有的JUnit测试。
Now that you have completed the entire configuration required for the test application client project, you will run the client so that it will run all the JUnit tests for you.
既然您已经完成了这个测试应用客户端项目的整个配置需求,那么现在您将运行这个客户端项目,从而它就可以运行所有的JUnit测试。
应用推荐