EntityFrameworkCoreMock.NSubstitute
Easy Mock wrapper for mocking EntityFrameworkCore 5 (EFCore5) DbContext and DbSet using NSubstitute
Total Downloads
278.0K
277,990
Published
Feb 7, 2022
Latest stable version
Install
.NET CLI
dotnet add package EntityFrameworkCoreMock.NSubstitute --version 2.4.0
Package Manager Console
Install-Package EntityFrameworkCoreMock.NSubstitute -Version 2.4.0
PackageReference
<PackageReference Include="EntityFrameworkCoreMock.NSubstitute" Version="2.4.0" />
Frameworks
Dependencies
[2.4.0, )
Castle.Core
[4.4.1, )
net5.0
[5.0.0, )
NSubstitute
[4.2.2, )
net5.0
EntityFrameworkCoreMock.Shared
[2.4.0, )
.NETStandard2.1
Castle.Core
[4.4.1, )
.NETStandard2.1
Microsoft.EntityFrameworkCore
[5.0.0, )
.NETStandard2.1
NSubstitute
[4.2.2, )
.NETStandard2.1
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 2 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.