In general, there should be a unit test for every public method of your class.
一般而言,类的每个公共方法都应有一个单元测试。
If there is a new configuration option added, there should be a unit test for that option.
如果添加了新的配置选项,那么就应该添加针对该选项的单元测试。
This would allow the caller (which could be a unit test rig) to mock the individual step.
这将允许调用方(可以是一个单元测试台)模拟的各个步骤。
Create the type of project that we want to use as the base for our new project template, so for our purposes the best option would be a Unit Test project.
首先,我们要创建一个新项目,作为我们新项目模板的基础。
Execution of such programs typically results in the processing of a sequence of transactions, where each transaction is assumed to be a unit of atomicity and recovery.
通常,应用程序的执行转变为一系列事务的处理,每个事务是具有原子性和可恢复性的一个单元。
If the job is running a small business or an autonomous unit within a larger business, high achievers should be sought.
如果你的工作是经营一家小公司,或者是在一家大公司里管理一个独立的部门,那么你就应该寻找办事高效的人。
It will be necessary to replace it with a spare unit.
有必要用一个备用部件来替换它。
An artifact type represents the deployable object that can be contained with a unit.
一个工件类型就代表一个包含在单元内的可部署对象。
A unit of work may be an entire process, a function supporting a process, or a step of a business process.
工作单元可以是一个整体流程,一个支持流程的功能,或是一个业务流程的一个步骤。
A domain can be a single organizational unit or an entire industry.
域可以是一个组织单元,也可以是整个企业。
From the compiler's point of view, the expression in parentheses becomes a term, which must be handled as a unit before computation can proceed.
从编译器的角度来说,括号括起来的表达式也是一个项,在计算过程中需要被当做一个整体单元来处理。
The dollar must once again be simply a name for a unit of weight of gold coin.
美元必须再次干脆的成为一种单位重量金币的代名词。
One place where this can be a problem is with unit testing, where we write code that tests the code that runs an application.
其中一个产生问题的位置就是单元测试,我们编写代码来测试运行应用程序的代码。
Unit testing can be a tedious and difficult process.
单元测试可以是一个冗长乏味且艰难的过程。
As an example, a server can be treated as a non-configuration unit, while a datasource that is configured on that server can be treated as a configuration unit.
例如在一个例子中,服务器可以看作是非配置单元,而配置在这个服务器上的数据源可以看作是配置单元。
The example in Listing 5 shows how translations from HTML and RTF documents can be mixed in a translation unit.
清单5中的例子说明html和rtf文档中的翻译如何混合出现在翻译单元中。
The Alpine Capsule will be a compact living unit offering the opportunity of overnight stays giving a spectacular 360-degree view while admiring the stars and the surrounding environment.
高山胶囊是一个紧密地生活单元,为过夜的登山者提供市内观赏的壮观360度星空和周围的茫茫雪山。
A character can be defined as a unit of information that corresponds to an atomic unit in a written language.
可以将字符定义为一个信息单元,对应于书面语言的一个原子单元。
Currently, a maximum of one persistent storage unit can be associated to a given instance, as shown in Figure 1.
目前,最多能将一个持久性存储单元关联到一个给定实例,如图1中所示。
A replicate set combines several replicates to form a set that can be administered together as a unit.
副本集包含几个可以构成一个集的副本,这个集可以作为一个单元管理。
That is just going to be, if you look at this paraboloid from above, all you will see is the unit disk so it will be a double integral of the unit disk.
这就会变成…,如果俯视这个抛物面,所看到的就是单位圆盘,这就应该是单位圆上的二重积分了。
Identify the subsystems or large clusters that should be tested as a unit.
识别应该作为一个单元来测试的子系统或者是大的簇。
In general, unit testing can be performed via a testing harness.
一般而言,可以通过一个测试装置执行单元测试。
Such a tenant can be an independent company, a specific organizational unit, or some kind of franchising business.
这样的租户可以是单独的公司、指定的组织单元、或是某些种特定经营的业务。
Any comment should be captured in a unit test.
任何注释都应在单元测试内捕获。
We also get the ability to distribute the layers relatively easily; all "model" logic can easily be moved as a unit to a separate tier.
我们也取得了相对容易的分布各个层的能力;所有“模型”逻辑可以被轻易的作为一个单元转移到单独的层。
It should be a pressure which is a force per unit area.
它应该等于压强,或者说是单位面积上的受力。
A replicate set combines many replicates to form a set that can be administered as a single unit.
一个复制集合并许多复制,以形成一个可以作为单个单元管理的集合。
In effect, each state could be set to represent a single unit of work by an individual on the team.
实际上,每个状态都可以设置代表这个小组中一个成员单一的工作单元。
In effect, each state could be set to represent a single unit of work by an individual on the team.
实际上,每个状态都可以设置代表这个小组中一个成员单一的工作单元。
应用推荐