Google Guide to Writing Testable Code

Guide to Writing Testable Code.
Excellent stuff. Make sure to click through:

  • Constructor does Real Work
  • Digging into Collaborators
  • Brittle Global State & Singletons
  • Class Does Too Much