NuGet Package MockQueryable.EntityFrameworkCore

Extension for mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc.
When writing tests for your application it is often desirable to avoid hitting the database.

The extension allows you to achieve this by creating a context – with behavior defined by your tests – that makes use of in-memory data.

Info

Version: 5.0.0
Author(s): Roman Titov
Last Update: Thursday, November 12, 2020
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/romantitov/MockQueryable
NuGet Url: https://www.nuget.org/packages/MockQueryable.EntityFrameworkCore


Install
Install-Package MockQueryable.EntityFrameworkCore
dotnet add package MockQueryable.EntityFrameworkCore
paket add MockQueryable.EntityFrameworkCore
MockQueryable.EntityFrameworkCore Download (Unzip the "nupkg" after downloading)

3 packages depend on this package.


Tags



STATS

must-have-score

5.3

avg-downloads-per-day

1039

days-since-last-release

184