Characteristics of a good unit test

A unit test should have the following properties:

  • The unit test should be automated and repeatable.
  • The unit test should be easy to implement.
  • The unit test must be usable in future situations.
  • The unit test should be easy for any developer be able to run it.
  • The unit test must execute quickly.

Share Article/Example:
  • DotNetKicks
  • DZone
  • StumbleUpon
  • Print
  • Add to favorites
  • Digg
  • del.icio.us
  • Twitter
  • Facebook
  • LinkedIn
  • Posterous
  • Slashdot

Filed Under: C# ASP.NET

Tags:

RSSComments (0)

Trackback URL

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.