Monday, January 24, 2011

A true unit test does not...

A true unit test does not:
  • Depend on any code outside its own unit.
  • Talk to a database.
  • Invoke a service.
  • Call the file system.
  • Send an e-mail.
  • Communicate across the network.
  • Affect other unit tests.
  • Depend on environment specific configuration settings.