MockQueryable.NSubstitute 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package MockQueryable.NSubstitute --version 1.0.4
                    
NuGet\Install-Package MockQueryable.NSubstitute -Version 1.0.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MockQueryable.NSubstitute" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MockQueryable.NSubstitute" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="MockQueryable.NSubstitute" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MockQueryable.NSubstitute --version 1.0.4
                    
#r "nuget: MockQueryable.NSubstitute, 1.0.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MockQueryable.NSubstitute@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MockQueryable.NSubstitute&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=MockQueryable.NSubstitute&version=1.0.4
                    
Install as a Cake Tool

Extension for mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc. by NSubstitute
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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on MockQueryable.NSubstitute:

Repository Stars
nuyonu/N-Tier-Architecture
This is a n-layer architecture based on Common web application architectures.
alex289/CleanArchitecture
Sample .NET 10 API project including Clean Architecture principles, Onion Architecture, MediatR, and Entity Framework with unit and integration tests using xUnit
suxrobGM/logistics-app
AI-powered fleet management platform with an agentic dispatcher that autonomously matches loads to trucks, ensures HOS compliance, and optimizes routes. Built for trucking companies.
Version Downloads Last Updated
10.0.8 115,706 5/16/2026
10.0.5 185,715 3/15/2026
10.0.2 144,048 1/29/2026
10.0.1 123,021 11/22/2025
10.0.0 3,525 11/22/2025
9.0.0 155,129 10/6/2025
8.0.1 105,553 10/6/2025
8.0.0 224,346 7/27/2025
7.0.4-beta 56,063 9/24/2024
7.0.3 1,927,975 9/2/2024
7.0.2 69,070 8/20/2024
7.0.1 946,476 3/7/2024
7.0.0 1,075,052 11/21/2022
6.0.1 883,930 3/28/2022
6.0.0 137,867 3/24/2022
5.0.2 84,142 3/24/2022
5.0.1 489,927 5/25/2021
5.0.0 155,629 11/12/2020
5.0.0-preview.7 775 7/28/2020
1.0.4 19,996 1/29/2019
Loading failed

AutoMapper support