This is a great idea when debugging, but you probably won't want to use it in production code.
虽然在调试时这是一个不错的想法,但是您可能并不希望在产品代码中这样使用。
Note that in production code you will want to include proper error handling among other things.
注意,在生产代码中,还需要包括适当的错误处理代码。
We have rarely used them for production code, even after four years of usage in experimental code.
我们甚至在试验代码中用了四年之后还很少在生产代码中使用它们。
Each target object that you test must have at least two clients: your production code, and your test case.
进行测试的每个目标对象必须具备至少两个客户机:生产代码和测试用例。
Remember: this is an example to show the concepts and should not be implemented in production code like this.
请记住:这是一个展示概念的示例,不应在生产代码中这样实施。
You are not allowed to write any production code unless it is to make a failing unit test pass.
在写完“红色”(无法通过测试)的单元测试代码之前,不允许写任何的产品代码。
This means that you can use it in any number of different circumstances: unit tests, production code, and so on.
这意味着您可以在不同的情况下使用它:单元测试、生产代码,等等。
The best Ruby programmers I know all suggest coverage of production code of over 80%, and some strive for 100% coverage.
所有我认识的优秀Ruby程序员都建议产品代码的覆盖率要高于80%,有的甚至建议要尽力达到100%。
I will write up a blog entry for each LINQ operator, probably including all of the production code but only "interesting" tests.
我将为每个LINQ操作符写一篇博文,其中将包含几乎所有的成品代码,不过测试代码的话我只会把有趣的部分贴出来。
In everything we do, whether writing tests, writing production code, or refactoring, we keep the system executing at all times.
我们在做任何事情时(无论是写测试、写产品代码还是重构),都要保证系统能够一直运行。
What if every line of production code were reviewed by somebody who was intimately familiar with what the code was supposed to be doing?
如果每行生产代码都被一个对代码的意图非常熟悉的人复查过会怎样?
So, if you've been wondering how Scala applies to your production code, you should now be ready to take your first steps to finding out.
因此,如果您想知道如何在您的生产代码中应用Scala,就应该准备好迈出探索的第一步。
Pair Programming: All production code is written by two programmers sitting at one machine. Essentially, all code is reviewed as it is written.
编程对子:所有代码都是坐在同一台机器前的两个程序员共同编写的,因此所有代码在编写的同时就完成了复查工作。
If you change your production code between tests, you cannot merge results from testing the original code with results from testing the changed code.
如果您在测试之间变更实际执行程序码,便无法合并原始程序码测试结果和变更过的程序码测试结果。
These errors should not be a problem in your final production code as long as the entire application is rebuilt for the released version of your product.
只要为产品的已发布版本重新生成了整个应用程序,这些错误在您最终的生产代码中应该不会成为问题。
Authentication criterion SA8000, incorporating the core content of ILS, is the way ILS spread across the globe and one of the forms of modern production code.
SA8000认证标准融合了国际劳工标准的核心内容,是国际劳工标准在全球推行的方式和现代生产守则运动的形式之一。
For production code, validating and transforming textual input is better handled by back-end code (a servlet, for example), rather than by means of JSP custom tags.
对于生产代码,文本输入的验证和转换最好由后端代码(比如servlet)来处理,而不是通过jsp定制标记来处理。
If production code has no need to instantiate many types of this collaborator, then adding that ability will make the resulting design needlessly hard to understand.
如果产品代码无需实例化该合作者的多个类型,那么添加该功能将使最终的设计不必要地变得难于理解。
Each test will serve as a quality feedback loop, creating both a safety net and an executable form of documentation for anyone who wants to change the production code.
每个测试都起到质量反馈回路的作用,给那些想修改产品代码的人创建了一个安全保护网,以及一份可以执行的文档。
If a company has weak software development practices and puts out releases riddled with bugs, working faster will only get more bugs released into production code sooner.
如果一家公司软件开发实践方面较弱,并且发布的软件中有许多缺陷,那么他们工作地更快只会更快地把更多的缺陷引入到产品代码之中。
The first is a convenience method (not something that you'd probably want to do in production code), and the second is the traditional method that requires a bit more work.
第一种方法非常方便(但是在产品代码中您可能并不希望使用),第二种方法是传统方法,需要多做一些工作。
Spend extra time up front ensuring that the new production code starts off at 100% production quality, and don't try and save a few days by re-using the lines of code in the prototype.
在前面花额外的时间确保新的生产代码是从100%的生产质量起步的,别试着通过重用原型里的代码来节省几天的时间。
I provide a partial production example rather than build a toy end-to-end scenario to cover more ground and give you the flavor of real plug-ins and how they're used in real production code.
我没有构建端对端场景,而是提供了部分产品示例以涵盖更多方面,并使您认识真实的插件以及如何在真正的生产代码中使用它们。
That content, though - what should be on the page or screen, and which buttons a user should have to click to make it work - defines the first piece of production code that a developer can write.
那些内容-页面上应该显示哪些东西,用户应该点哪个按钮-定义了开发人员可以开始编写的第一块代码。
When automatically creating a test project, disregard the default language setting and use the language of the production-code project instead.
自动建立测试专案时,忽略预设的语言设定,并改用实际程序码专案的语言。
When automatically creating a test project, disregard the default language setting and use the language of the production-code project instead.
自动建立测试专案时,忽略预设的语言设定,并改用实际程序码专案的语言。
应用推荐