Saturday, 7 September 2013

Unit Testing

Characteristics of Unit Test :
  • Fully automated
  • Can be run in any order ( if part of any other test)
  • Runs in memory ( no db access or file , must implement mocking )
  • Consistently returns the same results
  • Runs fast
  • Readable
  • Maintainable
  • Trustworthy