-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
Description
I would like to port the "Design for Testability" pattern examples from xUnit Test Patterns: Refactoring Test Code (the patterns of this category are actually no test code but production code patterns) which are in Java and VB to Python. Anyone interested in joining...
Short and eventually outdated descriptions of the patterns can be found here:
- Dependency Injection
- Parameter Injection (implementation variant) ✔️
- Constructor Injection (implementation variant) ✔️
- Setter Injection (implementation variant) ✔️
- Dependency Lookup
- Humble Object
- Poor Man's Humble Object (implementation variant)
- True Humble Object (implementation variant)
- Subclassed Humble Object (implementation variant)
- Humble Dialog (context variant)
- Humble Executable (context variant)
- Humble Transaction Controller (context variant)
- Humble Container Adapter (context variant)
- Test Hook
- System Under Test Hook (implementation variant)
- Depended-on Component Hook (implementation variant)