This post originated from an RSS feed registered with .NET Buzz
by Darrell Norton.
Original Post: 10 ways to make your code more testable
Feed Title: Darrell Norton's Blog
Feed URL: /error.htm?aspxerrorpath=/blogs/darrell.norton/Rss.aspx
Feed Description: Agile Software Development: Scrum, XP, et al with .NET
I think mock objects should be reserved for things your application needs to interact with that are out of the application’s control. If the database is for your application, then you should not need to mock it out. If the database is not part of your application and you are accessing it directly, you might want to read up about SOA.
This Blog Hosted On: http://www.DotNetJunkies.com/