如何:为数据库单元测试设计器创建测试条件。
How to: Create Test Conditions for the Database Unit Test Designer.
可以使用以下键盘快捷键在“数据库单元测试设计器”中导航。
You can use the following keyboard shortcuts to navigate within the Database Unit Test Designer.
如果您只使用数据库单元测试设计器来编写单元测试,则您可能不熟悉测试类的概念。
If you write unit tests only using the Database unit test Designer, you might not be familiar with the concept of a test class.
必须先将包含自定义条件的程序集安装到全局程序集缓存中,然后才能在数据库单元测试设计器中使用该条件。
Before you can use a custom condition in the Database Unit Test Designer, you must install the assembly that contains the condition into the global assembly cache.
我以后会进一步讲述:广泛的单元测试改善您的客户体验,并提高代码的设计水平,这是因为它强迫您解耦联系过于紧密的代码。
I'll go even further: Extensive unit testing improves your customer experience and the design in your code because it forces you to decouple code that's bound too tightly together.
正如前面提到过的,单元测试和契约式设计用不同的方式实现类似的目标。
As previously noted, it is true that unit testing and Design by Contract accomplish similar objectives by different means.
软件开发生命周期的设计和编码阶段,为单元测试的质量检验关提供了一个机会。
The design and coding phase of your software development lifecycle offers an opportunity for a quality gate designed around unit testing.
拥有优秀核心品质的人会提出最优的方法,包括编写单元测试和重构;学习设计模式,并且最重要的是:开发出众并实用的软件。
People with good core qualities will pick up the best approaches including writing unit tests and refactoring; learn design patterns and what is most important -deliver great and useful software.
本文将介绍一个示例,用于演示根据单元测试的结果进行设计的强大之处。
This article walks through an example that illustrates the power of allowing design to emerge from the decisions around unit tests.
它通过编写源代码,采用已有源代码,编译,链接以及执行单元测试,实现设计模型中的元素。
It implements the elements in the design model by writing source code, adapting existing source code, compiling, linking, and performing unit tests.
因此,他们的设计使得编写单元测试变得很容易。
As a result, their design makes it very easy to write unit tests.
如果在开始编写代码前先对设计进行全面细致的考虑,也能减少您为实现单元测试的目的而需要编写的代码量。
You will have thought through the design before simply coding away, which reduces the amount of code written to achieve the goal of the unit test.
在完成了代码和单元测试之上,开发人员创建一个由设计说明、代码、单元测试说明和单元测试结果组成的评审包。
Upon completing the code and the unit tests, the developer creates a review package consisting of design specifications, code, unit test specifications, and unit test results.
最内层的级别包括比较底层的实践,比如结对编程、编码标准、单元测试和功能测试、重构、简单设计,以及每周工作40小时。
The innermost level consisted of lower level practices such as pair programming; coding standards; unit and function testing; refactoring; simple design; and the 40-hour week.
这样,由于单元测试必须通过,所以设计文档总是最新的。
As such, this design document is always up-to-date because the unit tests always have to pass.
一个成功的软件工程师知道并会使用一定的设计模式、分解代码、撰写单元测试并从意识上追求简单化。
A successful software engineer knows and USES design patterns, actively refactors code, writes unit tests and religiously seeks simplicity.
这份预警机工程和制造初始合同开发阶段包括设计、开发、集成和飞行管理系统单元测试。
The initial contract for the engineering and manufacturing development phase includes design, development, integration and testing of the Flight Management System Suite (FMSS) for the AWACS aircraft.
一旦在体系结构级别上进行了描述,那么就可以单独地对这些组件进行设计、实现和单元测试。
Once described at an architectural level, these components can be designed, implemented, and unit-tested in isolation.
开发员对充分理解需求负责,以设计,编码,单元测试,并以一种准时的方式来交付分配任务的代码。
Developer Responsible for understanding the requirements described enough to design, write, unit test, and deliver code on assigned tasks in a timely manner. Commenter.
例如,Server透视图的设计就考虑了服务器或单元测试环境中的操作。
For example, the server perspective is designed with the server or unit test environment operation in mind.
像Contract4J这样的契约式设计工具在单元测试比较分散或比较困难的时候最有帮助。
A Design by Contract tool like Contract4J is most helpful in situations where unit testing is sparse or difficult.
具体到平台的设计和开发工具及单元测试环境
Platform-specific design and development tool and unit test environment
第6部分:详细设计;早期开发;双向工程;早期单元测试。
Part 6: detailed design; early development; round-trip engineering; early unit tests.
不论是否使用Contract4J进行单元测试,考虑组件的合约都会改进设计。
Whether or not you use Contract4J with your unit tests, thinking about the contract of your components will improve your designs.
Diego NayaLazo:OSworkflow在设计之初就考虑到了单元测试,因此,要测试您的业务过程相对来说还是很简单的。
Diego Naya Lazo: OSworkflow is designed with unit testing in mind, so is relatively easy to test your business process.
然而,由于它是在假设会被抛弃的情况下建立的,它会迂回于需求评审,设计评审,代码评审和单元测试之间。
However, because it was created under the presumption that it would be thrown away, it bypassed requirements reviews, design reviews, code reviews, and unit testing.
敏捷的开发周期允许系统测试团队扮演实际的客户,从应用程序设计到系统测试应用程序的编码和单元测试。
The agile development cycle allowed the system test team to act like a real customer, from the application design right through coding and unit testing of the system test application.
契约式设计也做了显式的合约定义,而在单元测试中这些更隐式。
Design by contract also makes explicit the contract definition that is more implicit in unit tests.
对可用功能的交流是至关重要的,因为每个迭代中只有三个星期是执行系统测试应用程序的设计、编码,和单元测试的。
The communication of available functionality was critical since there were only three weeks per iteration to perform system test application design, code, and unit test.
这就是为什么我们使用好的设计实践,和像单元测试与系统测试这样的自动化反馈环,都是为了让修改变得容易。
This is why we use good design practices and automated feedback loops like unit or system tests; to keep things easy to change.
应用推荐