.com
Hosted by:
Unit testing expertise at your fingertips!
Home | Discuss | Lists

DfT Patterns

Recent Changes

Dependency Injection Category: DfT Patterns 26 January 2004
The client provides the depended-on object to the SUT.
Dependency Lookup Category: DfT Patterns 26 January 2004
The SUT asks another object to return the depended-on object before it uses it.
Humble Object Category: DfT Patterns 26 January 2004
We extract the logic into a separate easy-to-test component that is decoupled from its environment.
Test Hook Category: DfT Patterns 26 January 2004
We modify the SUT to behave differently during the test.

Page generated at Wed Feb 09 16:39:54 +1100 2011

Copyright © 2003-2008 Gerard Meszaros all rights reserved

All Categories
Introductory Narratives
Web Site Instructions
Code Refactorings
Cross References & Lists
Database Patterns
DfT Patterns
External Patterns
Fixture Setup Patterns
Fixture Teardown Patterns
Front Matter
Glossary
Misc
References
Result Verification Patterns
Sidebars
Terminology
Test Double Patterns
Test Organization
Test Refactorings
Test Smells
Test Strategy
Tools
Value Patterns
XUnit Basics
xUnit Members
All "DfT Patterns"
Dependency Injection
Dependency Lookup
Humble Object
Test Hook