部署并运行你的测试。
It doesn't guarantee the quality of your tests.
但是它不能保证测试的质量。
Refactor your code and automate your tests.
重构代码并自动化测试。
One alternative is to use an in-memory database for your tests.
另一个可选的方式是为测试使用内存数据库。
Once you've passed all your tests, I recommend the gorilla test.
一旦完成了所有的测试,我建议您试一试野蛮测试。
Account for this added dependency when you write your tests.
在编写测试时,请务必考虑这一附加的依赖性。
How you can uniquely identify such components in your tests?
如何在测试中惟一标识这样的组件?
Confirm the results of your tests on the other application server.
在另一个应用服务器上确认测试的结果。
Finally, examine the code that was not executed during your tests.
最后,检查您测试中的那些没有实现的代码。
With refactoring, if the code breaks, your tests will tell you.
重构时,如果代码崩溃了,测试将告诉您。
We've made it a breeze to add new layers of abstraction to your tests.
我们让你可以轻而易举地增加新的测试抽象层。
As the underlying code changes, your tests will inevitably fall behind.
因为一旦下面的代码变更,您的测试就不可避免地会落后。
And with Rails, the database will determine the speed of your tests.
对Rails而言,数据库决定测试的速度。
So far, you've been using TextTestRunner as the default to run your tests.
到目前为止,都是默认使用TextTestRunner运行测试。
Helps minimize the need to rerecord your tests each time something changes.
有助于降低每次改动发生时重新记录测试的需要。
That's what a sham object is — a lightweight way to fake things out in your tests.
这就是伪对象—一种用来伪装测试中对象的轻量型方式。
The fastest gains in code coverage come by starting your tests at the highest level.
在最高层次上开始测试能够以最快速度获得代码覆盖率。
If your tests are repeatable, the differences between test results should be minimal.
如果测试是可重复的,那么测试结果之间的差异应该是极小的。
Your tests must be valid and reliable; in other words, your tests must be repeatable.
测试必须是有效且可靠的;换言之,测试必须是可重复的。
Only after you have your tests written (and failing) do you write the code under test.
只有在编写了测试(并失败)后,您才可以编写测试中的代码。
The data from your tests of all four messaging technologies are summarized in Table 1.
表1汇总了您测试所有四项消息传递技术所得到的数据。
Reduces the size of your tests, improves robustness and reusability of your tests.
降低测试的规模,改进测试的强壮性和重用性。
Code coverage is useful in that it shows you that your tests do what you think they do.
当代码覆盖能够反映出你的测试代码确实正按你命令行事的时候,它们是有用的。
Unit tests are so important that you should write your tests before you write the code.
由于单元测试是如此重要,所以您应该先编写测试,再编写代码。
Add methods to the mock object that allow you to initialize it properly for your tests.
在模拟对象里添加方法,使得您的测试正确地初始化。
If all has been done correctly, you should see the results of your tests in the console.
如果一切正常,那么应当在控制台中看到测试结果。
This allows you to find substitution values quickly when debugging and updating your tests.
这使您能够在调试和更新您的测试时,快速的找到这些置换值。
To run the transformation, as with all your tests so far, you have to start a runtime workbench.
想要运行转换,首先您要启动一个运行时工作台。
To run the transformation, as with all your tests so far, you have to start a runtime workbench.
想要运行转换,首先您要启动一个运行时工作台。
应用推荐