FragileUnit Tests and External Dependencies

by jmorris 6. October 2009 23:42

An example of why unit tests that depend upon external resources, such as databases are fragile:

And the code that is breaking:

Reason: article was versioned repeatedly in the UI after this unit test was created...noise.

Tags: , ,

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Who Am I?

My name is Jeff Morris a software engineer/developer in Southern California, USA. My platform du jour is dotnet, but I dabble on the darkside occasionally.

Page List