-
Software Development
Testing legacy code: Hard-wired dependencies
When pairing with some developers, I’ve noticed that one of the reasons they are not unit testing existing code is…
Read More » -
Enterprise Java
Test-driving Builders with Mockito and Hamcrest
A lot of people asked me in the past if I test getters and setters (properties, attributes, etc). They also…
Read More » -
Software Development
Extract, Inject, Kill: Breaking hierarchies – Part 2
In part one I explained the main idea behind this approach and I started this example. Please read part one before…
Read More » -
Software Development
Extract, Inject, Kill: Breaking hierarchies – Part 1
Years ago, before I caught the TDD bug, I used to love the template method pattern. I really thought that…
Read More » -
Software Development
Frustrations and aspirations of a software craftsman
For a while I’ve been thinking about what makes me like or dislike a project. Having spent a very big…
Read More » -
Software Development
Working with legacy code
Context Large organisations’ systems may have from tens of thousands to a few million lines of code and a good…
Read More » -
Software Development
Mentorship in Software Craftsmanship
First, a little bit of background and metaphor In the medieval times, apprentices would work in workshops an would be…
Read More »