Tools for helping in unit testing applications that use Entity Framework Core
This NuGet package containing methods to help you unit test applications that use Entity Framework Core for database access. This readme provides links to the documentation in the EfCore.TestSupport wiki. Also see Release Notes for information on changes.
NOTE: The first number in the version number of this library defines what version of EF Core it works for. e.g. EfCore.TestSupport version 5 is works with to EF Core 5. If are using the older versions of EF Core you need EfCore.TestSupport, version 3.2.0.
WARNING: If you are updating from the original EfCore.TestSupport (2.1 or 3), then you should read the Version5UpgradeDocs.md file as there are some breaking changes in this version.
This project is open-source (MIT licence).
Please don't add a pull request without first contacting me via an issue containing the reason/idea first.
The EfCore.TestSupport library is available on NuGet as EfCore.TestSupport and is an open-source library under the MIT licence. See ReleaseNotes for details of changes and information on versions before EF Core 5.
The NuGet package EfCore.TestSupport containing methods to help you unit test applications that use Entity Framework Core for database access. This readme defines the various groups, with links to the documentation in the EfCore.TestSupport wiki.
NOTE: The techniques are explained in much more details in chapter 17 of the book Entity Framework in Action, second edition.
Here is an image covering just a few of the methods available in this library.
The various groups of tools are: