The Visitor Design Pattern is a great way to separate your model data and relationships from the operations you want to perform on that data. However, there are some downsides to using it, one of which we can mitigate by taking advantage of explicit interface implementation in C#.
Month: March 2016
As the Test Pyramid tells us, unit and integration tests should make up the bulk of our test strategy. But where we draw the line between the two, how they complement each other and their relationship with our acceptance tests can be a source of confusion.
Building on my Hexagonal Architecture series of posts, I’ll walkthrough an example that outlines my usual strategy for technical tests by building the test configuration of a Ports and Adapters application.