Unit Testing Around Entity Framework DataContext - Tech.Pro

added by Grishma Govani
8/13/2013 3:28:54 AM


Lets start off by saying that I am a big opponent of the Repository pattern, not because it is a terrible pattern, but because developers assume it is the only way to make their data-access code testable. The repository pattern has become the goto pattern for many developers, and they don't give it a second thought. But how do you test something as complex as Entity Framework?