NuGet Package MockQueryable.Moq

Extension for mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc.

by Moq
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: 1.1.0
Author(s): Roman Titov
Last Update: Thursday, February 28, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/romantitov/MockQueryable
NuGet Url: https://www.nuget.org/packages/MockQueryable.Moq


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



Tags



STATS

must-have-score

4.8

avg-downloads-per-day

221

days-since-last-release

206