9. Integration tests "If you do plan to refactor your code..., a practical way to make sure you don't break anything during the refactoring phase is to write integration-style tests against your production system” Roy Osherove, the Art of Unit Testing