Many developers use a variant of testing called test-after development (TAD), whereby you write the code and then write the unit tests.
许多开发人员使用称为后测试开发(TAD)的各种测试,你首先编写代码,然后编写单元测试。
We might use scenarios as the unit of measure or look at each step that describes system behavior as a feature.
我们可以用场景作为我们度量的一个单元,或者将描述系统行为的每一个步骤作为一个特性。
This means that you can use it in any number of different circumstances: unit tests, production code, and so on.
这意味着您可以在不同的情况下使用它:单元测试、生产代码,等等。
It includes an extensive set of unit tests with the source code. Developers can modify the library and use the test to verify its functionality.
它包含了一套广泛的单元测试源代码,开发者可以修改函数库源代码并使用单元测试验证其功能。
Within the virtual image unit, add units as appropriate to the use of the virtual image.
在虚拟镜像单元之内,添加适当的单元以使用虚拟化的镜像。
The type of CPU is detected along with any optional floating-point unit (FPU) and stored away for later use.
然后会为任何可选的浮点单元(FPU)检测CPU的类型,并将其存储起来供以后使用。
The next unit of water might not even exist if we cannot get smart enough to use our single supply of water well.
如果我们不能有效使用我们仅有的水资源的话,那么下一个单元的水将不复存在。
Developers might use one or more of their own sandbox portals or portal unit test environments.
开发人员可能会使用自己的沙箱门户(也称门户单元测试环境)中的一个或多个。
Make sure that you do your calibration of sensors with the same power supply unit that you intend to use in the field.
请确保您进行传感器校准所用的供电单元与将来在现场使用的供电单元是相同的。
This provides an additional dimension of modularity so that, even within a given language unit, it is possible for you to use only specific subsets.
这就对模块性提供了更多的空间,即使对一个已给定的语言单元,你也有可能只使用某些特定的子集。
It is very important the unit tester has access to artifacts that communicate decomposed information, outside of the actual use case.
单元测试人员访问实际用例之外的,与被分解的信息相沟通的工件是十分重要的。
The best you can do to flush these errors out into the open is use a wide variety of data in your unit tests.
所以要使这些错误浮出水面,最好的办法是在单元测试中使用各种各样的数据。
When I arrived as a consultant to this company, I found an entire development organization where there was no routine use of source control, much less any automated builds or automated unit testing.
当我作为一名顾问进入到公司后,我发现这是一家不使用常规源代码控制、只有少量自动化构建或自动化单元测试的企业。
The goal of a user goal-level use case is analogous to a unit of business value.
用户目标层次上用例的目标,与业务价值的一个单元相类似。
During the first quarter, energy intensity - measured as energy use per unit of output - actually increased, Mr. Zhang said.
在第一个季度中,能量密度——定义为每单位产出消耗的能源——事实上增加了,张先生说。
Use cases would typically capture 10 to 20 days of development and unit test.
用例典型的获取10到20天的开发和单元测试。
Behavior Driven Development goes further by directly associating unit tests (and test cases) with the requirements via the use of natural language.
行为驱动开发则更进一步,通过使用自然语言,直接把单元测试(以及测试用例)同需求联系起来。
Only a small portion of the actual use case serves as direct input to a unit test case.
只有一少部分地实际用例被直接输入道单元测试用例中。
Better use of equipment - as total production has increased, manufacturing equipment will have been more fully exploited, lowering fully accounted unit costs.
更好地使用设备:随着总产量提高,生产设备使用率提高,降低计算中的单位成本。
A: As far as I know, the use of new materials could reduce unit cost by 10%.
据我所知,新材料的使用能减少单位成本的10%。
Service tests for service use cases are no different, although they may be thought of more as functional tests than unit tests.
服务用例的服务测试没有什么不同,不过更多地将其看作功能测试,而不是单元测试。
Corporate and business unit architecture governance organizations work together, to enforce when applications must use these enterprise components, instead of building redundant functions.
企业和业务单元体系结构治理组织要协同工作,以确定何种情况下应用程序必须使用这些企业组件,而不是构建冗余功能。
That's what these unit tests are: a set of coded use cases that document what a class does, given a controlled set of inputs.
那就是单元测试:一系列记录类所做工作的用例代码,提供输出控制。
This unit of cloud capacity is needed in order to ensure a level playing field as the demand and use of cloud computing becomes commoditized.
有了云容量的单位,才能确保商品化的云计算有一个公平竞争的环境。
Through a series of manufacturing steps, the onboard materials-processing unit will use the soil sample to fabricate a functioning solar cell.
经过一系列的制造程序,登月飞船携带的材料加工设备将利用月球泥土中的提取的材料制造出可正常运行的太阳能电池。
Or the tested object may make use of objects with side effects that may not be desirable in unit testing, like file objects that delete files.
或者,测试对象会使用具有副作用的对象,如删除文件的File对象,而在单元测试中不希望有这些副作用。
Whether or not you use Contract4J with your unit tests, thinking about the contract of your components will improve your designs.
不论是否使用Contract4J进行单元测试,考虑组件的合约都会改进设计。
Whether or not you use Contract4J with your unit tests, thinking about the contract of your components will improve your designs.
不论是否使用Contract4J进行单元测试,考虑组件的合约都会改进设计。
应用推荐