#testafter

2023-10-12

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

An intricate wooden puzzle with 12 interwoven beams that form a cube

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst