在您先编写测试并通过测试这个过程中,您正在让代码告诉您它想要做什么,以及会成为什么。
As you write tests first and get them to pass, you're letting the code tell you what it wants to do and become.
您可以通过记录与您测试的服务器之间的交互或是创建一个空的测试并通过手工添加测试元素来构建它。
You can do this either by recording an interaction with the server you're testing or by creating an empty test and building it from scratch.
德国莱比锡大学的研究人员召集了1000多名75岁以上的退休工人,并通过一系列的测试评估了这些志愿者的记忆力和思维能力。
Researchers from the University of Leipzig in Germany gathered more than 1,000 retired workers who were over age 75 and assessed the volunteers' memory and thinking skills through a battery of tests.
模拟证明测试可以通过,作为原型供提供程序团队使用,并支持协调程序团队继续进行开发。
The mocks demonstrate that the tests can pass, serves as prototypes for the provider teams, and enables the coordinator teams to proceed with development.
图7中展示了在一段连续的时间内,已经成功完成并通过自动化测试的构建的百分率。
Figure 7 shows, for a sequence of days, the percentage of the builds which have successfully completed and passed automated testing.
这些特性加速了人工测试的执行并通过减少人的错误来改善结果。
These features speed up manual test execution and improve results by reducing human error.
持续集成服务器不断检查不受源控制的代码,执行构建,对它运行单元测试,并通常通过电子邮件向开发人员报告所有构建故障。
A Continuous Integration server constantly checks the code out of source control, builds it, runs the unit tests against it, and reports any build failures to the developers, usually via E-mail.
如果可以运行,并通过测试,则会显示一个绿条。
If everything ran and the test passed, the bar would be green.
测试将执行并通过。
FIT测试通过定义更改,并确保软件修改不影响以前满足的需求,从而帮助增加了灵活性。
FIT testing helps increase agility by defining changes and ensuring that no software modifications break previously satisfied requirements.
本文是分两部分的文章的第二部分,讨论如何使用TDD在编写代码之前编写测试,并通过这个过程形成更好的设计。
This is the second part of a two-part article investigating how use of TDD allows better design to emerge from the process of writing tests before you write code.
应用程序已成功启动并通过您的验证测试。
Applications start successfully and pass your verification tests.
自动化软件开发过程,并通过持续性测试—尽早地找到缺陷以降低成本。
Automating the software development process and assisting in finding defects early through continual testing - to aid in reducing costs.
提供程序开发团队将开发实现StockQuoteService的类或组件,其工作方式与StockQuoteMock类似,并使股票报价测试能够通过。
The provider development team would develop a class or component that implements StockQuoteService, works like StockQuoteMock, and makes the stock quote tests pass.
不到一分钟的时间,treeview下的所有节点都将显示为绿色,这表明测试正常执行并通过。
After less than a minute, all the nodes in the treeview should be green, thus indicating that the tests have been executed and passed.
UX团队开发反映问题空间的wire frame(站点的表示),并使之通过用户测试。
The UX team develops wireframes (the presentation for the site), structured to reflect the problem space, and puts them through a user test regime.
考虑一下CountryList怎样才能处理用户接口事件(鼠标单击,键盘),并通过这个方法使其能够被CountryTest测试,并被CountryApp使用。
Think about how CountryList could process user interface events (mouse click, keyboard) in a way that could be both tested by CountryTest and used by CountryApp.
你可以通过调用Jarvis . run并传入测试函数来运行测试。
To run tests, you would call Jarvis.run , passing in your test function.
如果想使用测试来限制进度,那么我们可以通过撰写优先测试立刻满足要求,并实现代码使之得以工作。
If we use tests to bound our increments, we can get immediate satisfaction by writing our first test and then implementing code to make it work.
该文件使应用程序能够模拟真实的情况,并通过不同的值、设备或帐户进行测试。
This file enables our application to simulate real conditions, and to test with different values, devices or accounts.
也就是说,其他人此时更新代码后应该能够编译(可能的话),执行测试套件,并通过测试。
Someone updating to that point should be able to compile it (if applicable) and run the test suite, and have the test suite pass.
如果这样做,则会自动导出所有测试函数并通过下面的代码运行它们。
If you do this, all your test functions will be automatically exported and run via the test function shown below.
简而言之,你可以通过任何工具建立并启动测试,编辑你的网站。
In short, you can create and launch experiments from whatever tool you use to edit your site.
这节省了时间,为早期测试提供了动力,并通过最小化测试软件中的缺陷提高了测试的质量。
This saves time, provides incentives for early testing, and increases the quality of testing by minimizing the number of bugs in the test software.
像以前一样,我将运行测试并查看是否通过。
解决方案是从您的构建练习中去掉过量的测试,以便您只运行应该通过的测试——并且如果它们失败了您可以审阅并解决他们。
The solution is cut the excess from your build exercise routine so that you only run the tests that are supposed to pass — and that you can commit to reviewing and resolving if they fail.
运行这个测试案例并实现代码使测试通过。
这一集成方法已经通过测试并被CSC的领域专家成功应用。
This integrated methodology has already been tested and used successfully by field professionals at CSC.
这一集成方法已经通过测试并被CSC的领域专家成功应用。
This integrated methodology has already been tested and used successfully by field professionals at CSC.
应用推荐