I’ve been looking into some documentation on how testable code should be written. Most of the articles online all say pretty much the same things, but I found one article by Isa Goksu which has quite extensive detail on some points of testing, and also provides several great links to other related articles. He reviews concepts that are closely related to testing and test-driven development, like The Simplest Thing that Could Possibly Work, or Law of Demeter (which is a good design pattern too), some not-as-widespread-as-they-should-be Principles of Object Oriented Design, and so on.
There is also a great resource in the Google Testing blog, where there are many guidelines about testing and how good testable code is engineered from the start.
Hope it’s a testable Friday for you! What are your favorite testing philosophies? Add them to comments!