Skip to main content
EntityFrameworkCoreMock.NSubstitute package icon

EntityFrameworkCoreMock.NSubstitute

Easy Mock wrapper for mocking EntityFrameworkCore 5 (EFCore5) DbContext and DbSet using NSubstitute

Total Downloads
277.9K
277,889
Published
Feb 10, 2026
Latest stable version

Install

.NET CLI
dotnet add package EntityFrameworkCoreMock.NSubstitute --version 4.0.0
Package Manager Console
Install-Package EntityFrameworkCoreMock.NSubstitute -Version 4.0.0
PackageReference
<PackageReference Include="EntityFrameworkCoreMock.NSubstitute" Version="4.0.0" />

Frameworks

net5.0 net6.0 net8.0 net10.0

Dependencies

[4.2.2, 6.0.0)
[4.2.2, 6.0.0)
[4.2.2, 6.0.0)
[4.2.2, 6.0.0)

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.