You don't have to go crazy and build thousands of tests providing full coverage; as you make changes, make tests.
您不必不安,也不必构建几千个测试以进行完全覆盖;您可以一边做改动,一边测试。
You can even make tests a bit more granular and test a series of methods to ensure they meet a certain time threshold.
甚至可以测试得更加细致一些,可以测试一系列方法来确保它们满足特定的时间限制。
To make tests into objects, they used the Command pattern, which encapsulates "a request as an object, thereby letting you […] queue or log requests."
为了使测试成为对象,他们使用了Command模式,该模式“将请求封装成对象,从而可以……建立请求队列或者记录请求”。
Unit tests don't deal with databases, file systems, or anything else that would tend to make tests run longer; consequently, unit tests can be written from day one.
单元测试不处理数据库、文件系统或任何可能延长测试运行时间的内容;因而,从第一天就可以编写单元测试。
It is very difficult to make tests in deep natural gas formation because of high temperature at the bottom of Wells, great pressure, complex well structure as well as the influence of hazards gas.
深层天然气地层测试难度大,主要是井底温度高、井底压力大、井身结构复杂,同时受有害气体影响。
These tests will inevitably be used by politicians to make cheap political points.
这些测试难免会被政客们利用以炮制损人利己的政治观点。
Cheerful or fearful—you make the decision. But remember God tests the sincerity of your love by how generous you are in life.
开心或是害怕——你得做出选择。但是请记住,上帝通过你生活的慷慨程度来检验你的爱的诚意。
The Transition is now going through crash tests to make sure it meets federal safety standards.
名为“转变”的这一飞行汽车正在接受撞击测试,以确保其符合联邦的安全标准。
To make sure this wasn't by chance, Wang conducted additional tests using different performance measures.
为了确保这不是偶然现象,王使用不同的性能度量进行了额外的测试。
Only under special circumstances freshmen are permitted to take make-up tests.
只有在特殊情况下才会允许大一新生参加补考。
We suggest keeping some note cards in your study so that you can make flashcards for coming tests.
我们建议在你的学习过程中保留一些笔记卡,这样你就可以为接下来的考试制作抽认卡。
You can essentially make large changes without having to rewrite several tests.
你可以做很大的改动,基本上不需要重写一些测试。
But usability tests force you to make assumptions based on a small sample of customers.
但是,可用性测试会驱使你只根据一小部分客户样本来做出假设。
If you run unit tests whenever you make changes to code, you'll find out immediately if your changes broke something.
如果只要更改代码即运行单元测试,您立即就能发现您所做的更改是否对系统造成了破坏。
Unit tests make it easier to find and resolve problems early which can translate into huge savings over the life of a project.
单元测试使早期发现和解决问题更容易,这可以转化成项目开发时间的大量节省。
With just days to go regulators must redouble their efforts to make the tests work.
时日所剩无多,监管者必须加倍努力来让测试发挥作用。
Unit tests allow you to make changes with confidence; if a change breaks something, this will be revealed by the tests.
单元测试使您对改动充满信心;如果某个改动破坏了一些东西,测试将把它揭示出来。
If you make serialization tests a regular part of your test suite, however, then maintaining long-term compatibility becomes relatively straightforward.
如果您将串行化测试作为测试套件的固定部分,则维护长期兼容性就会更轻松。
However, tests make much better documentation than comments.
然而,测试能够比注释提供更好的说明。
Download Cargo: Make repeatable tests of Web applications even easier.
下载Cargo:使Web应用程序的可重复测试更加简单。
Careful planning, Black says, will make the actual execution of tests go smoothly and quickly.
Black提到,认真细致的计划将使测试的实际执行很平滑和迅速。
Jester doesn't integrate particularly well (or at all) with IDEs, so it's important to set up the CLASSPATH and directories properly to make the tests pass.
Jester与IDE的集成不是特别好(或者根本不好),所以要让测试通过,重要的是正确设置CLASSPATH和目录。
But the Robot works with screen coordinates instead of Swing component references, so using it directly in tests will make the tests fragile, meaning any change in layout will break them.
不过Robot仅对屏幕坐标有效,而对Swing组件参考无效,因此直接使用它会使测试很脆弱,这意味着任何布局变化都会中止测试。
However, by all means make the tests.
无论如何,尽一切办法进行测试。
Make automated tests a part of every build and use the same server selection mechanism to deploy the code onto machines that have the correct configuration for the tests.
将自动测试作为每个构建的一部分,并且使用同样的服务器选择机制,将代码展开到那些拥有正确配置的机器上面。
If you want to know whether your doctor orders more tests to make moremoney, ask her how much the tests cost, and how much she thinks she makes forordering the test.
如果你想知道你的医生是否让你多做检查来赚钱,就问问她检查一共要多少费用以及她认为自己从中可以赚得多少。
So instead of a complex WSDL specification you have a series of unit tests that make assertions about the service from both a provider and consumer point of view.
因此,你可以把一套复杂的WSDL规范丢在一旁,取而代之拥有的是一系列从提供者和使用者角度断言描述服务的单元测试。
You may need other tests to make sure you have a cataract or to rule out other conditions that may be causing vision problems.
但你可能仍需要另外的检查来明确你患有白内障或排除一些可能引起视力问题的其它情况。
You may need other tests to make sure you have a cataract or to rule out other conditions that may be causing vision problems.
但你可能仍需要另外的检查来明确你患有白内障或排除一些可能引起视力问题的其它情况。
应用推荐