This is accomplished with the common testing pattern known as mock objects.
这通过名为模拟对象的常见测试模式实现。
To give you a good feel for creating and testing patterns, we will now create a pattern project and apply the pattern to a model.
为了使您清楚地了解如何创建和测试模式,现在我们将创建一个模式项目,并将这个模式应用于一个模型。
For testing purposes, try to create an even, easily repeatable timing pattern, such as two-tenths of a second between each key release.
出于测试目的,尝试创建一个均匀、容易重复的计时模式,例如在每次键释放之间间隔十分之二秒。
Problems discovered during unit testing are fixed in the corresponding pattern or code template, not in the generated code.
单元测试期间发现的问题在相应的模式或代码模板中就可以修改,而不是在生成的代码中修改。
This tutorial also assumes that you understand the value of developer testing and are familiar with basic pattern matching.
本教程也假设您理解开发人员测试的价值,并熟悉基本模式匹配。
For example, if you are creating a pattern to be used in testing, you might want to make sure that all test deployments use the same amount of virtual memory.
例如,如果创建一个用于测试的模式,您可能需要确保所有测试部署使用了相同数量的虚拟内存。
This is a technical idiomatic pattern relating to testing that I can easily anticipate needing in lots of contexts.
这是与测试相关的一种技术惯用模式,我可在多个上下文中轻松预见该测试的有用性。
Women love testing a wide range of clothes because it fits the pattern of their brain - a range of emotions and feelings and each different outfit to reflect that mood.
女人喜欢试穿各种不同的服装,因为这符合她们的大脑模式——一系列情绪和感觉,而每种不同的服装能反映各种情境。
Testing integrated units: This section presents a pattern for testing a piece of an integrated system (in other words, testing both your aspects and non-aspect classes together).
测试完整的单元:此节展示了测试完整的系统部分(换句话说,同时测试方面和非方面类)的模式。
Keep testing and see if a more definite pattern emerges.
继续测试,观察是否出现更为明确的模式。
The book discusses the Model-View-Controller pattern, unit testing, Web services, security, and many other topics that are critical to building effective Web applications.
该书讨论了Model -View - Controller模式、单元测试、Web服务,安全性和对有效的Web应用程序的构建起关键作用的许多其他主题。
Part 1 of this brief series on effective testing built a FindBugs plugin to find a trivial bug pattern, that of calling System.gc .
这一简短系列的第1部分介绍了如何进行有效测试,它构建了FindBugs插件来查找一个简单的bug模式(只需调用System . gc即可)。
A major pharmaceutical company USES the data consolidation pattern in a SOA context to support the collection and review of remote lab-testing statistics.
大型的制药公司可以在soa上下文中使用数据整合模式以支持远程试验统计数据的收集和研究。
Anti-pattern: Postpone integration testing until all code has been completed and unit-tested.
反模式:推迟集成测试直到所有代码都完成并且单元测试也已完成。
So I was testing the Fibonacci pattern under the most difficult circumstances for collecting sunlight.
因此我是在最不容易收集太阳光的环境下进行的斐波那契布局测试。
Then he designed cooking dishes to fit the pattern. He had come up with a resourceful way to approximate the answer rather than using scientifically sophisticated testing equipment.
然后他设计烹饪菜肴来适应这个模式。他已经想出一个创意十足的方法来接近答案而不是利用科学精密的检测设备。
We are testing a neurobiological model of brain function with these experiments, which proposes certain neural filing pattern in the brain.
我们通过这些实验测试大脑的神经生物学模式,这种模式提供了大脑神经处理信息及接受刺激的方式。
The method of testing semiconductor RAM in processes on-line condition is highly different from conventional pattern sensitive method.
联机工作情况下对半导体随机存贮器的故障检测和诊断与一般的图案敏化法有显著的不同。
Testing results prove that each traffic pattern can be distinguished exactly by two fuzzy neural networks.
实验的测试结果表明,用两个模糊神经网络可以准确的辨识出各种交通模式。
Analyzing a users behavior pattern is a key problem in software usability testing.
在软件可用性测试中,分析用户行为模式是一个关键的问题。
Misuse intrusion testing technology is the most important link in a pattern matching the current model of matching reported mainly on the text of character string matching.
误用入侵检测技术中最重要的一个环节是模式匹配,目前的模式匹配主要是对报文中特征字符串的匹配。
Modern signal processing and pattern recognition have been playing an increasing important role in ultrasonic nondestructive testing and evaluation.
现代信号处理与模式识别技术在超声无损检测与评价中的作用愈来愈重要。
Working pattern: it automatically calculates, prints and outputs the testing data and results.
工作模式:测试数据自动计算,结果打印输出。
Based on geological, gravity and magnetic, seismic, logging, physical properties of rocks and testing data, the spatial variation pattern of density in Dongying sag is established.
本文以地质、重磁、地震、测井、岩石物性及分析测试资料为基础,首次建立了东营凹陷密度的空间变化模式。
Specifically include the followings: Radiometric calibration1. Antenna Pattern in-orbit testing program.
具体包括以下内容:辐射定标1、天线方向图在轨测试实施方案。
A software development team needs an automated testing framework to adapt to the characteristics of the applications which team developed and to its own development pattern.
一个软件开发团队需要一套适应于团队所开发应用的特点及自身开发模式的自动化测试框架。
Multiple hypothesis testing is a key problem in spatial pattern detection using local statistics of spatial association.
摘要:多重假设检验是限制局部空间关联模式分析的关键问题。
Pattern testing: a new type of automated testing that ensures that development patterns, best practices, architecture design are being correctly implemented.
一个新型的自动化测试保证开发的式样,最好的连续,建筑风格实际正在执行中。
The system structure, pattern of knowledge expression, reasoning mechanism, programming method and testing result are introduced briefly.
论文对其体系结构、知识表示模式、推理机制、程序设计方法及测试情况作了简要介绍。
So I was wondering if the ECP design pattern can be applied for this testing?. How can I optimize my testing?
所以我想知道如果ECP设计模式可以应用于该测试?。如何优化我的测试?
应用推荐