O'Reilly logo
  • Marco Shimomoto thinks this is interesting:

Exploring testing impediments

This section explains the nature or quality of code that makes unit testing difficult. Automated tests help us develop software quickly, even when we have a large code base to work on. Automated unit tests should be executed very fast so that the tests can give us quick feedback, however we cannot unit test code when it exhibits any of the following symptoms:

  • Performs long running operations
  • Connects to a database and modifies database records
  • Performs remote computing&#...


Cover of Mockito Essentials


Excellent reference for definition of unit test boundaries