Testing reduces unnecessary code.
测试减少了不必要的代码。
Quality: Testing code can be one of the most efficient ways to find defects in your application.
质量:测试代码是找到你的程序中缺陷的最有效率的方法之一。
Testing new configuration and code changes in an improved way
以一种改进的方式测试新配置和代码更改
Listing 12. Testing for a null zip code.
清单12.空邮政编码的测试。
Testing the example code for this article showed one bug in CXF, which is being fixed.
测试本文的示例代码时发现了CXF中的一个bug,这个bug正在纠正。
Testing the Simplified Airline service with client code
用客户机代码测试SimplifiedAirlines服务
Testing, reviewing, and debugging code that does not follow any standards can be a daunting task, even for the best of programmers.
即使是最好的程序员,测试、复查和调试不遵循任何标准的代码也是一项艰巨的任务。
Your job is easier if you have the freedom to refactor the code you're testing.
如果能够自由地重构正在测试的代码,您的工作会简单些。
Download the code for the testing tools from this article.
可从本文下载测试工具的代码。
There’s also the issue of testing code paths for each experiment.
每个试验中还存在代码测试路径的问题。
You can download the code for the testing tools from this article.
您可以从本文下载这些测试工具的代码。
Developers are responsible for the quality of their code, doing the testing needed.
开发人员进行必要的测试,他们对他们的代码质量负责。
In most cases, simple test functions are more than adequate for testing code.
在大多数情况下,简单的测试函数对测试代码来说已经足够了。
What do you think the most common mistake developers make in respect to testing code?
在测试代码方面,你觉得开发人员可能犯的最常见的错误是什么?
One of the most critical measurements for testing is code coverage.
代码覆盖率就是最重要的测试指标之一。
More support for testing whether code does or doesn't throw an exception.
为测试提供了更多的支持,无论代码是否抛出异常。
InfoQ: What mistake do developers make most often when testing code?
InfoQ:在测试代码时,开发人员最容易犯下的错误是什么?
You still need to design a sound application and develop it with solid and reusable code and thorough testing.
您仍需要设计一个完善的应用程序,用可重复使用的可靠代码开发它,并对其进行彻底测试。
If a unit test is harder to write than the code it is testing, it might be a functional test.
如果编写单元测试比编写其所测试的代码更难,则它可能是功能测试。
Listing 3 shows the code snippet for testing whether the portlet is navigated to Edit mode.
清单3显示了一个代码片段,用于测试是否将portlet导航到Edit模式。
Functional testing legacy code with nose to create a new spec.
使用nose创建一个新规范,对遗留代码进行功能测试。
While services are good and can make your applications more flexible, they also increase the complexity of your code base and testing strategy.
尽管服务很好,它能够使你的应用更灵活,但它也增加了你代码基础和测试策略的复杂性。
The code for the testing section of this article is added to the Business Integration view.
本文中用于测试部分的代码已添加到BusinessIntegration视图中。
We explored how the situations arose in the application, and then saw how to best fix the problematic code to make testing possible.
我们还介绍了这些情况是如何出现在应用程序中的,然后介绍了如何恰当地修复这些问题代码来便于进行测试。
Another important aspect of ensuring code quality is component testing, which is an activity that occurs during development.
保证代码质量的另外一个重要的方面就是组件测试,这一项工作在开发中经常出现。
For integrating and testing code from multiple developers, we set up a test server with the following software.
为集成和测试多名开发人员的代码,我们用下列软件构建了测试服务器。
Successful projects have a healthy group of individuals and companies submitting code, writing documentation, and testing new features.
成功的开源项目都有一批活跃的个人和公司在贡献代码,编写文档,测试新功能。
Once you have finished writing and testing your code you can commit it to the CVS repository.
在编写和测试了代码之后,可以将它提交给CVS存储库。
Desktop PC: that can be used for miscellaneous purposes (developer testing, integration of code, etc).
桌面PC:可供多种用途(测试,代码集成等)。
Desktop PC: that can be used for miscellaneous purposes (developer testing, integration of code, etc).
桌面PC:可供多种用途(测试,代码集成等)。
应用推荐