Summary and Quiz: Driving the Domain Layer

Test your knowledge of creating the domain layer of a system.

We'll cover the following

Chapter’s recap

We’ve covered a lot of ground in this section. We’ve used TDD to drive out the core application logic for our Wordz game. We’ve taken small steps and used triangulation to steadily drive more details into our code implementation. We’ve used hexagonal architecture to enable us to use FIRST unit tests, freeing us from cumbersome integration tests with their test environments. We’ve employed test doubles to replace difficult-to-control objects, such as the database and random number generation.

We built a valuable suite of unit tests that are decoupled from specific implementations. This enabled us to refactor the code freely, ending up with a very nice software design based on the SOLID principles, which significantly reduces maintenance efforts. We finished with a meaningful code coverage report that showed 100% of the lines of production code were executed by our tests, giving us a high degree of confidence in our work.

Quiz

Get hands-on with 1400+ tech skills courses.