Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Two strategies for testing Entity Framework - Effort and SQL CE

, 19 Sep 2012
Two approaches for unit testing Entity Framework: Mocking in memory by using "Effort", and against a real database using SQLCE
TestingEf-noexe.zip
TestingEf
DbScripts
Lib
EntityFramework.5.0.0
Local.testsettings
TestingEf.Data.Tests
bin
Debug
obj
Debug
ProductRepositoryTests
Properties
TestData
TestDatabaseStrategies
TestDatabaseStrategiesTests
TestingEf.Data.Tests.csproj.user
TestingEf.Data
bin
Debug
Entities
MyApp.edmx
obj
Debug
edmxResourcesToEmbed
Entities
MyApp.csdl
MyApp.msl
MyApp.ssdl
Properties
Repositories
TestingEf.suo
TestingEf.vsmdi
TraceAndTestImpact.testsettings
TestingEf.zip
Effort
Effort.dll
Effort.pdb
NMemory.dll
EntityFramework.dll
Local.testsettings
Effort.dll
Effort.pdb
EntityFramework.dll
NMemory.dll
TestingEf.Data.dll
TestingEf.Data.pdb
TestingEf.Data.Tests.dll
TestingEf.Data.Tests.pdb
Release
DesignTimeResolveAssemblyReferencesInput.cache
TempPE
TestingEf.Data.Tests.csprojResolveAssemblyReference.cache
TestingEf.Data.Tests.dll
TestingEf.Data.Tests.pdb
TestingEf.Data.Tests.csproj.user
EntityFramework.dll
TestingEf.Data.dll
TestingEf.Data.pdb
Release
MyApp.edmx
DesignTimeResolveAssemblyReferencesInput.cache
MyApp.csdl
MyApp.msl
MyApp.ssdl
TempPE
Entities.MyApp.cs.dll
Entities.MyApp.Designer.cs.dll
TestingEf.Data.csprojResolveAssemblyReference.cache
TestingEf.Data.dll
TestingEf.Data.pdb
TestingEf.suo
TestingEf.vsmdi
TestResults
TestTemp
TraceAndTestImpact.testsettings

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

David Bywaters

United Kingdom United Kingdom
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 19 Sep 2012
Article Copyright 2012 by David Bywaters
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid