模拟考试在11月进行。
Who develops the service mocks?
谁开发服务模拟?
Intercept and raise events on mocks.
使用Mock拦截和引发事件。
Emulation of external services (mocks).
模拟外部服务(mock)。
But mocks are more than stubs for nonexistent components.
但模仿对象不仅仅只是还未存在的组件的存根。
They must resynchronize on a newly agreed upon set of mocks and tests.
他们必须针对达成一致的一组新模拟和测试重新进行同步。
The team that develops the tests usually implements the mocks as well.
开发测试的团体通常也实现模拟。
The mocks do not provide some needed behavior or the desired interface.
模拟并不提供某些需要的行为或希望的接口。
These service mocks are simple prototypes of the real service providers.
这些服务模拟是实际服务提供程序的简单原型。
One of the more popular USES of mocks is to test exceptional conditions.
mock最常见的用途之一是测试异常条件。
Nice mocks supply reasonable defaults for methods you don't explicitly mock.
Nicemock为没有显式地提供mock的方法提供合理的默认值。
Use stubs for state based testing, use mocks for interaction based testing.
用stub来做基于状态的测试,使用mock做基于交互的测试。
By adding the EasyMock class extension, you can create mocks for classes too.
通过添加easymock类扩展,还可以为类创建mock。
If and when they need to change the mocks, they need to update the tests as well.
如果需要更改模拟,他们还需要对测试进行更新。
Fourth, the provider teams develop providers that act like the mocks and pass the tests.
第四步,提供程序团队部署提供程序,这些提供程序的行为与模拟相似,且均已通过了测试。
Create a table called accounts. This fictional table mocks a storage table of account Numbers.
创建名为accounts的表。
And they've developed service mocks, which are quick prototypes of how the real service will work.
他们已经开发了服务模拟,这些模拟是表示实际服务将如何工作的快速原型。
If the coordinator wants finer-grained functionality, the team needs to modify the mocks and their tests.
如果协调程序希望更细粒度的功能,则该团队需要对模拟及其测试进行修改。
He who mocks the poor shows contempt for their Maker; whoever gloats over disaster will not go unpunished.
戏笑穷人的,是辱没造他的主;幸灾乐祸的,必不免受罚。
The exaggerated way the name is uttered humorously mocks the way the media exploits him for sensational effect.
他的名字发音的夸张方式,诙谐地讽刺了媒体为追逐轰动效应而利用他的方式。
The needed changes to the providers can and should initially be modeled as changes to the mocks and their tests.
提供程序所需的更改可以也应该建模为对模拟及其测试的更改。
The third step in this SOA development process is to develop service mocks -- mock objects that pass the service tests.
此SOA开发流程的第三步是开发服务模拟——通过服务测试的模拟对象。
The provider teams employ the service mocks as prototypes and the service tests as requirements to implement the services.
提供程序团队采用服务模拟作为原型,并将服务测试作为要求,从而实现服务。
A simple five-step development process which solves these problems using service use cases, service tests, and service mocks.
一个简单的五步开发流程,该流程通过使用服务用例、服务测试和服务模拟解决了这些问题。
Many Rails developers now use stubs or mocks to take the database out of the picture, forming lightning-fast functional tests.
现在很多Rails开发人员都使用stub和mock替代数据库,这就使功能测试变得十分轻快。
Whenever a team has to change the mocks, they should resynchronize as soon as possible, before they get any further out of sync.
只要某个团队必须对模拟进行更改,他们就应该在进一步脱离同步之前尽可能快地重新进行同步。
You give the mock objects an interface you want the real components to have, then you use the mocks until the real components take shape.
给模仿对象一个接口,您希望实际组件具备这个接口,然后使用模仿对象,直到实际组件成形。
You can evaluate how your code is interacting with mocks (such as verifying how many times a method was called, check state, and so on).
可以评估代码如何与模仿对象交互(譬如,验证调用了某个方法多少次以及检查状态等)。
Hopefully they still agree on the service use cases, so they can start again from there, developing an agreed-upon set of tests and mocks.
他们仍然有希望就服务用例达成一致,以从此处继续开展工作,从而开发一组一致认可的测试和模拟。
The new folder structure has a root folder of acme, and the subdirectory layout mocks that of the cea module provided by the WebSphere cea Feature Pack.
这个新文件夹结构拥有一个根文件夹acme,子文件夹布局模拟WebSphereceaFeature Pack提供的cea模块的布局。
应用推荐