- "Write tests. Not too many. Mostly integration."
- Integration tests strike a great balance on the trade-offs between confidence and speed/expense. This is why it's advisable to spend most (not all, mind you) of your effort there.
- biggest thing you can do to write more integration tests is to stop mocking so much stuff
- When you mock something you're removing all confidence in the integration between what you're testing and what's being mocked.
H. Ji, and R. Grishman. Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies - Volume 1, page 1148--1158. Stroudsburg, PA, USA, Association for Computational Linguistics, (2011)
B. Roth, G. Chrupala, M. Wiegand, M. Singh, and D. Klakow. Proceedings of the Fifth Text Analysis Conference (TAC 2012), Gaithersburg, Maryland, USA, National Institute of Standards and Technology (NIST), (November 2012)