tnypxl · @tnypxl
31 followers · 198 posts · Server mstdn.social

Writing unit tests for where the original didn't consider testability is painful! Because now they have to refactor a bunch of code so it is testable. TDD isn't about writing tests first and the implementation second. It's about being proactive and intentional in your implementation and code quality.

#Golang #tdd #redgreenrefactor #Developer #Code

Last updated 1 year ago