Friday, May 21, 2010

A test is NOT a Unit Test when...

  • It talks to a database

  • It communicates across a network

  • It touches the file system

  • You have to do special things to your environment (such as editing config files) to run it

Tests that do these things are integration tests, not unit tests. [Shore & Warden 2007]

No comments:

About Me

I produce and engineer games and applications. | Portfolio | LinkedIn