Changes for page Testable Design
Last modified by chrisby on 2024/09/19 10:50
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -34,5 +34,5 @@ 34 34 35 35 An important part of a testable architecture is the **Humble Object Pattern**. The pattern emphasizes the isolation of complex to test aspects (such as GUI interactions), keeping them 'humble' with minimal logic: 36 36 37 -* **Minimize logic of hard-to-test layers** such as GUIs to keep them as thin as possible, focusing primarily on user interaction, routing, and data transformation. 38 -* **Maximize business logic**: Youcan move logic to the business logic/service layer, which is easier to test, improving overall testability.37 +* **Minimize the logic of hard-to-test layers** such as GUIs and adapters to keep them as thin as possible, focusing primarily on user interaction, routing, and data transformation. 38 +* **Maximize business logic**: Where reasonably possible, move logic to the business logic/service layer, which is easier to test, improving overall testability.