News for hackers. Stuff that matters.
Re:Why Most Unit Testing is Waste [pdf] by michaelfeathers on Thursday March 06, 2014 @10:27AM (#7354197)
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.

Re:Why Most Unit Testing is Waste [pdf] by earlz on Thursday March 06, 2014 @11:15AM (#7354571)
You'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
Re:Why Most Unit Testing is Waste [pdf] by n1ghtmare_ on Thursday March 06, 2014 @12:22PM (#7355100)
This book is legendary! This and Uncle Bob's books Clean Code. A must read for every programmer !
Re:Why Most Unit Testing is Waste [pdf] by ollysb on Thursday March 06, 2014 @10:51AM (#7354406)
I've heard many good things about this book, definitely on the reading list!