Test-drive this code? Yeah! But wait… You are the developer who just joined a Formula 1 racing team, but your predecessor “forgot” to write tests. So your task will be to add a reasonable test suite. Four short katas and each violates different SOLID design principles. Learn what SOLID stands for. Understand why non-SOLID code is so much harder to test.
Last time we did the first of 4 SOLID Katas, this time we will do one of the other ones.
We will start with a short discussion on the SOLID principles and then dive into the code.
Afterwards? Drinks in a bar nearby...