Automated Testing Lessons

  • Testing small chunks of our application was easier than testing the whole thing
  • Good tests don't need to be updated if methods change but the interface stays the same
  • Interacting with the "outside world" makes testing code more complex
  • Stand-In (Mock) components can help emulate the outside world
  • Testing small pieces of the code in isolation does not always give total confidence
  • Perfect total test coverage is hard (and maybe unnecessary?)

7 / 21