MockQueryable.Moq 1.0.2

There is a newer version of this package available.
See the version list below for details.
Install-Package MockQueryable.Moq -Version 1.0.2
dotnet add package MockQueryable.Moq --version 1.0.2
<PackageReference Include="MockQueryable.Moq" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MockQueryable.Moq --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MockQueryable.Moq, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MockQueryable.Moq as a Cake Addin
#addin nuget:?package=MockQueryable.Moq&version=1.0.2

// Install MockQueryable.Moq as a Cake Tool
#tool nuget:?package=MockQueryable.Moq&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on MockQueryable.Moq:

Package Downloads

Package Description


Package Description


Package Description

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on MockQueryable.Moq:

Repository Stars
Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
Boilerplate of API in .NET Core 3.1
Version Downloads Last updated
5.0.1 162,144 5/25/2021
5.0.0 397,342 11/12/2020
5.0.0-preview.7 9,021 7/28/2020
3.1.3 654,588 5/19/2020
3.1.2 72,749 4/17/2020
3.1.1 215,365 1/25/2020
3.0.2 34,058 12/20/2019
3.0.1 29,010 10/11/2019
3.0.0 8,145 9/30/2019
1.1.0 368,585 2/28/2019
1.0.4 32,616 1/29/2019
1.0.3 146,476 8/30/2018
1.0.2 50,017 1/17/2018
1.0.1 7,845 12/26/2017
1.0.0 3,077 12/26/2017