Advanced application architecture
- 44. ADVANTAGES OF USING LAYERS,
PORTS & ADAPTERS
Offers insight into the application
Isolates the low-level details
Allows for alternative implementations
Helps with testing
- 46. UNIT TESTS
Testing your units of code
One class at a time
No IO
No setup required
Mocking only dependencies "you own"
- 57. A WELL-BALANCED TEST SUITE
Adapters can be easily replaced
Test suite is fast
Feedback is quick
Small amount of fragile tests
Enables continuous delivery