经模拟测试,验证了原理是正确的。
Through a simulation test the theory has proved to be correct.
模拟测试是成功项目的关键。
我认为我们必须设计一些新的模拟测试。
计算机模拟测试结果显示,这项技术能减少40%的高速公路车祸。
Tests show that this technology can lower motorway accidents by 40%.
提供一个用于流程分析和测试的模拟工具。
接下来的操作会模拟在运行测试用例时用户的行为。
The next actions simulate a user's behavior when running a test case.
现在我们已使测试对我们的模拟对象使用两个接口。
We now have enabled the tests to use both interfaces to our mock object.
测试场景必须模拟实际生产环境之下所发生的情况。
A test scenario must emulate the situations that occur in the actual production environment.
第三步,开发通过测试的服务模拟。
开发通过服务测试的服务模拟。
回答:从你业务的一小部分开始着手测试和模拟。
Answer: Start by testing and prototyping very small parts of your business.
我们的测试代码,特别是模拟对象,使我们能完全控制数据库结果。
Our test code, specifically the mock objects, give us total control over the database results.
此示例服务模拟需要通过我前面编写的示例服务测试。
This example service mock needs to pass the example service tests I wrote earlier.
为了测试DF A构造,我必须模拟代理和前端。
To test the DFA construction, I had to simulate the proxy and the front end.
这通过名为模拟对象的常见测试模式实现。
This is accomplished with the common testing pattern known as mock objects.
您需要在测试环境中模拟该计划。
我们还希望创建一个 Notes.net负载,用于在未来的模拟 Notes.net环境中进行性能测试。
workload that we can use for future performance tests in a simulated Notes.net environment.
这些测试可让我们直接使用Customer模拟对象。
These tests enable us to exercise the Customer mock object directly.
此时您可以使用一个模拟portlet容器来测试portlet。
At this point you can use a mock portlet container to test the portlets.
按照单元测试的术语,这称为模拟对象(mock object),更多信息参见参考资料中的链接。
In unit testing language, this is called a mock object (see Resources for more information).
例如,您可以使用模拟的组件运行测试。
For example, you might have run a test with a component emulated.
目前有许多单元测试框架使用模拟容器来执行测试。
There are many unit testing frameworks available today that use mock containers for testing.
如果发生错误,则始终可以再添加模拟器,并重新运行测试。
If that happens, you can always add back the emulator and re-run your test.
模拟实现应该足以通过服务测试即可。
The mock implementation should be just enough to pass the service tests.
例如,我们可以在测试环境中用mock模拟电子邮件发送方法。
For example, we can mock out the email delivery method in our testing environment.
测试成功明显需要模拟ClassB。
There is an obvious need to mock ClassB for your test to be successful.
在这种方式下,借助模拟服务来对组件进行单元测试也会更容易。
It also makes it easier to unit test the component with a mock service.
使用内压测试(减压模拟)。
使用内压测试(减压模拟)。
应用推荐