xunit test patterns refactoring test code phần 10

hoặc các thông số cập nhật. Để đảm bảo rằng các thử nghiệm phương pháp tiện ích có tên Intent-Tiết lộ, chúng ta nên để cho các bài kiểm tra kéo các phương pháp tiện ích thử nghiệm vào sự tồn tại chứ không phải chỉ là phát minh ra phương pháp tiện ích thử nghiệm mà chúng tôi nghĩ có thể là cần thiết sau này. | Simpo PDF Merge and Split Unregistered Version - http direct outputs of the SUT. Direct outputs may consist of the return values of method or function calls updated arguments passed by reference exceptions raised by the SUT or messages received on a message channel . MQ or JMS from the SUT. document-driven development A development process that focuses on producing documents that describe how the code will be structured and then coding from those documents. Document-driven development is normally associated with big design up front BDUF also known as waterfall software development. Contrast this with test-driven development which focuses on producing working code one test at a time. domain layer The layer of a Layered Architecture DDD PEAA WWW that corresponds to the domain model. See Eric Evans book Domain-Driven Design DDD . domain model A model of the problem domain that may form the basis of the object model in the business domain layer of a software application. See Eric Evans book Domain-Driven Design DDD . DTO Short for the Data Transfer Object CJ2EEP design pattern. dynamic binding Deferring the decision about which piece of software to transfer control to until execution time. The same method name can be used to invoke different behavior method bodies based on the class of the object on which it is invoked the latter class is determined only at execution time. Dynamic binding is the opposite of static binding it is also called polymorphism from the Latin meaning taking on many shapes . EDD See example-driven development. 94 SimpoLPDFRMerge and Split Unregistered Version - http emergent design The opposite of BDUF big design up front . Emergent design involves letting the right design be discovered as the software slowly evolves to pass one test at a time during test-driven development. endoscopic testing A testing technique pioneered by the authors of the original Mock Object paper ET which involves testing software from