Writing tests first doesn't have to be harder than writing them after. In fact, I'm convinced that once you get over the mental threshold of writing tests for code that doesn't exist, it's actually easier.
Less complicated setup since you get to choose the setup and not adapt it to existing code. Also looser coupling which means code that is easier to maintain.
#tdd #testfirst #development #testing #testafter
Image credit to Kieran Wood via Unsplash
