I have been doing some presentations on TDD and one thing that always happen is that you get some tricky questions in the beginning of the presentation.
As you’re introducing a new concept it of course starts very small and easy but most people directly try to put into their context, their normal situation.
And let’s admit it – there not very often we start off in a void, aka. a green field project. No – it’s mostly brown field - there is always code that exists that needs to be handled. What’s worse – that code is not written to be tested – Not Designed for Testability.
But from my good friend Calle Lindelöf I’ve got a tip for two great articles by David Laribee. Here you go, thank you Calle: