Explore JavaScript's versatility and key features in modern web development. Learn about its use cases, benefits, and role in crafting dynamic web experiences.
- "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.
J. Böhringer, P. Bühler, and P. Schlaich. X.Media.Press Springer, Berlin ; Heidelberg, 5., vollständig überarbeitete u. erweiterte Aufl. edition, (2011)
K. Schmidt, R. Stühmer, and L. Stojanovic. The 2009 AAAI Spring Symposium on Intelligent Event Processing, page 67--72. Association for the Advancement of Artificial Intelligence, (March 2009)