4 ms·
Perhaps a well written, easy to follow guide on how to structure different types of code to simplify testing would be helpful. Know of any?
by diggernet 9y ago
Perhaps a well written, easy to follow guide on how to structure different types of code to simplify testing would be helpful. Know of any?
- davidjnelson 9y agoObject Oriented Software Guided By Tests is good.
- arkh 9y agoWorking Effectively with Legacy Code is a good read: it presents what kind of code you want to attain and methods to get there from a crappy code base. The definition of legacy code for the author (which I like) is: untested code. So the book is more about getting code in a testable state than random refactoring to get to Clean Code level.
- josteink 9y agoThat book is indeed good, at least on a personal level. It has helped me refine what I consider good code and good effort wrt to testing.