EntityFrameworkCoreMock.NSubstitute
Easy Mock wrapper for mocking EntityFrameworkCore 5 (EFCore5) DbContext and DbSet using NSubstitute
Total Downloads
278.0K
277,990
Published
Dec 25, 2025
Latest stable version
Install
.NET CLI
dotnet add package EntityFrameworkCoreMock.NSubstitute --version 3.0.0
Package Manager Console
Install-Package EntityFrameworkCoreMock.NSubstitute -Version 3.0.0
PackageReference
<PackageReference Include="EntityFrameworkCoreMock.NSubstitute" Version="3.0.0" />
Frameworks
Dependencies
EntityFrameworkCoreMock.Shared
[3.0.0, )
net10.0
NSubstitute
[4.2.2, 6.0.0)
net10.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 1 target framework; 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.