A complete basis for design in accordance with the Code, Edition, Addenda and Class and the use of applicable Code Cases is identified.
整个设计基础符合规范、日程和等级要求,并明确所采用的适用规范。
"The two cases I'm familiar with didn't involve open data or code," he says.
“我熟悉的这两种情况不涉及公开数据或代码。”他说。
In some cases, the code converts one interface to another interface; in other cases, types themselves are directly adapted to an interface.
在一些情况中,代码将一个接口转换到另一个接口;在其他情况中,类型本身直接适配到另一个接口。
They are fully connected and traceable throughout all the lifecycle artifacts, including requirements, test cases, and code.
在整个生命周期的工件中,它们是完全连接且可追溯的,包括需求、测试案例,和代码。
The purpose of this "shortcut" is to eliminate all unnecessary artifacts — that is, artifacts that don't immediately contribute to the ultimate goal of producing code or test cases.
此“捷径”的目的是去除所有非必要的工件——换句话说,不立即为生成代码或测试案例的最终目标做出贡献的工件。
Often, the external code bases could be very large and, in many cases, are relevant only in the interface to the code.
通常来说,外部的代码基底可以变得很大,在许多种情况下,它们在代码中只是在界面上相关。
We'll code the use cases soon, but first, let's take a look at what the pages will look like for the completed application.
我们很快就会对使用案例进行编码,但是首先让我们来了解一下完成后的应用程序的页面将是什么样子。
In this task, we start identifying the code that implements the use cases.
在此任务中,我们开始鉴别实现用例的代码。
I recommend the use of a requirements repository that will tie into use cases, design, and code, to provide traceability through the project.
我建议使用需求存储库,该存储库将与用例、设计和代码紧密结合,以在项目进行的整个过程中提供可跟踪性。
Better still, I can open a coverage file in my browser and see exactly which lines of code my test cases cover.
更妙的是,我可以在浏览器中打开一个覆盖率文件并查看测试用例所覆盖的代码行。
A person assigned to the user perspective is expected to read through the code with use cases in mind.
负责用户透视图的人员需要通读代码,并且要时刻记住以用例作为标准。
Whether you need to double back and revisit some old code, write some more test cases, or even delay a deadline — do it.
不管是否需要你回顾还是重新查看一些旧代码,都要多写一些测试用例,甚至推迟截止日期也要这么做。
In some cases code designed to defer background work to keep the foreground responsive was actually slowing things down; in two cases I actually took out Sleeps, no joke!
在某些情况中,用于延迟后台工作的代码使得前台的反应有点缓慢。这两种情况都让我昏昏欲睡,这不是开玩笑!
They're a result of bad code, and in most cases, code without the problem would have been easy to write.
这些问题是错误编码的结果,在大部分情况中,很容易写出没有问题的代码。
Ideally, the application developers themselves build the test cases for the code they are writing.
在理想状况下,应用程序开发人员自己为他们编写的代码构建测试用例。
Writing test cases against code naturally increases the collective confidence of a development team.
对一个开发团队而言,针对代码编写测试案例自然可以增加集体的信心。
In some cases, code inspection will be enough to find it.
在某些情况下,通过检测代码才能够发现。
The application code in both cases is similar.
这两种情况中的应用程序代码相似。
You will find that in most cases, with good design, copying code is completely unnecessary.
在大多数情况下,使用优秀设计后,您将会发现完全没有必要复制代码。
The short "code, test, code, test" cycle of TDD invites refactoring in these cases, which continually drives the development of uncomplex code.
在这些情况下,TDD的简短的 “代码、测试、代码、测试”循环将导致重构,而这将继续驱使非复杂代码的开发。
The code of the other methods includes the other test cases.
其他方法的代码包含其他测试用例。
An excellent, yet time consuming way to determine whether the code implements just what the use cases specify is to perform code inspections on all code that gets checked in to the project.
一个极好但耗时的确定实现的编码是否就这个用例中特定指明的方法是,对检入到项目中的所有编码实行检查。
In those cases, you won't get a status code at all.
在这些情况中,您根本就不会得到状态代码。
A person assigned to the tester perspective will read through the code thinking about what test cases could prove that the code works properly.
负责测试员透视图的人员需要通读代码,并且要考虑哪些测试例子能够证明代码能正常工作。
The base cases are then handled inconsistently by client code.
客户端代码对基本例处理不一致。
Tested code is easier to refactor, maintain, and enhance than code without corresponding test cases.
与没有相应测试案例的代码相比,经过测试的代码更容易重构、维护和增强。
"Agile USES continuous stakeholder feedback to deliver high quality consumable code through use cases (or user stories) and a series of short, time-boxed Iterations".
敏捷可使用持续的涉众反馈,通过用例(或用户案例)以及一系列较短的定时迭代,来交付优质的可消费代码。
If you're a developer, you've almost certainly had this experience: you've developed your code and your test cases.
如果您是一名开发人员,那您很可能就已经具有这种经验:您已经开发了一些代码以及一些测试用例。
Preferably, you should code test cases first.
您应该优先编写测试用例。
According to the data, event code 2201 followed event code 2003 in 76.9 percent of the cases and event code 2001 in 84.6 percent of cases.
依据该数据,在76.9%的情况下,代码为2201的事件发生在代码为2003的事件之后,在84.6%的情况下发生在代码为2001的事件之后。
应用推荐