Skip to Main Content
Entity Framework 4 in Action
book

Entity Framework 4 in Action

by Stefano Mostarda, Daniele Bochicchio, Marco De Sanctis
May 2011
Intermediate to advanced content levelIntermediate to advanced
576 pages
19h 11m
English
Manning Publications
Content preview from Entity Framework 4 in Action

Chapter 18. Testing Entity Framework

 

This chapter covers
  • Unit-testing basics
  • Dependency isolation and mock objects
  • Persistence testing with Entity Framework

 

Testing is a critical part of the software development lifecycle—development can’t be considered complete until you’ve verified that the code you wrote works as expected. Unfortunately, testing code is rarely a trivial task for two main reasons:

  • Test complexity strongly depends on the complexity of the application itself. It tends to grow in a nonlinear manner as you add functionality, objects, tiers, or dependencies with external systems.
  • Fixing bugs or adding new features can potentially lead to regressions, harming your software stability and reliability. In these cases, you ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Professional ADO.NET 3.5 with LINQ and the Entity Framework

Professional ADO.NET 3.5 with LINQ and the Entity Framework

Roger Jennings
ASP.NET MVC 4 in Action

ASP.NET MVC 4 in Action

Matthew Hinze, Jeremy Skinner, Jeffrey Palermo, James Bogard, Eric Hexter
Entity Framework 6 Recipes, Second Edition

Entity Framework 6 Recipes, Second Edition

Brian Driscoll, Nitin Gupta, Rob Vettor, Zeeshan Hirani, Larry Tenny

Publisher Resources

ISBN: 9781935182184Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link