4 ms·
I wrote a book called 'Working Effectively with Legacy Code' that's really all about testing code that is not easy to test - real apps beyond toy examples. The
by michaelfeathers 13y ago
I wrote a book called 'Working Effectively with Legacy Code' that's really all about testing code that is not easy to test - real apps beyond toy examples.
There are techniques in the book but really you should try to write tests for code as you write it. It's the best way to make sure that your code is decoupled enough for testing. If you do that, you don't need the techniques in the book.
- ollysb 13y agoI've heard many good things about this book, definitely on the reading list!
- earlz 13y agoYou're the author of that!? I love that book, and even though I stick to it's practices less than I probably should, it was incredibly helpful
- n1ghtmare_ 13y agoThis book is legendary! This and Uncle Bob's books Clean Code. A must read for every programmer !