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, 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.
可从本文下载测试工具的代码。
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.
在大多数情况下,简单的测试函数对测试代码来说已经足够了。
One of the most critical measurements for testing is code coverage.
代码覆盖率就是最重要的测试指标之一。
More support for testing whether code does or doesn't throw an exception.
为测试提供了更多的支持,无论代码是否抛出异常。
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.
如果编写单元测试比编写其所测试的代码更难,则它可能是功能测试。
While services are good and can make your applications more flexible, they also increase the complexity of your code base and testing strategy.
尽管服务很好,它能够使你的应用更灵活,但它也增加了你代码基础和测试策略的复杂性。
Listing 3 shows the code snippet for testing whether the portlet is navigated to Edit mode.
清单3显示了一个代码片段,用于测试是否将portlet导航到Edit模式。
The code for the testing section of this article is added to the Business Integration view.
本文中用于测试部分的代码已添加到BusinessIntegration视图中。
Another important aspect of ensuring code quality is component testing, which is an activity that occurs during development.
保证代码质量的另外一个重要的方面就是组件测试,这一项工作在开发中经常出现。
We explored how the situations arose in the application, and then saw how to best fix the problematic code to make testing possible.
我们还介绍了这些情况是如何出现在应用程序中的,然后介绍了如何恰当地修复这些问题代码来便于进行测试。
Successful projects have a healthy group of individuals and companies submitting code, writing documentation, and testing new features.
成功的开源项目都有一批活跃的个人和公司在贡献代码,编写文档,测试新功能。
For integrating and testing code from multiple developers, we set up a test server with the following software.
为集成和测试多名开发人员的代码,我们用下列软件构建了测试服务器。
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:可供多种用途(测试,代码集成等)。
WAS CE unveils a new business model, providing free code for use in development, testing, and deployment.
WAS CE展示了一个新的业务模型,提供免费代码用于开发、测试和部署。
This is good for testing your code, but once you are ready to deploy your application, you should modify the address information.
这对测试您的代码有用,但一旦您要着手部署应用程序,则应当修改地址信息。
Whether their mission is development, testing, or code control, teams do not want constraints on how they operate, particularly in their choice of tools.
不论团队的任务是开发、测试,或代码控制,它们都不希望在如何操作上受到约束,特别是在工具的选择上。
Instead, you can simply restart the server or restart the EAR project within the running server and start testing your code changes.
相反,您可以简单的重启服务器或者在运行中的服务器内重启EAR项目并开始测试您对代码的修改。
This kind of code review is a prerequisite for component testing and runtime analysis.
这种类型的代码复查是组件测试和运行时分析的先决条件。
This kind of code review is a prerequisite for component testing and runtime analysis.
这种类型的代码复查是组件测试和运行时分析的先决条件。
应用推荐