EntityFrameworkCore.Testing.NSubstitute
2.0.4
See the version list below for details.
dotnet add package EntityFrameworkCore.Testing.NSubstitute --version 2.0.4
NuGet\Install-Package EntityFrameworkCore.Testing.NSubstitute -Version 2.0.4
<PackageReference Include="EntityFrameworkCore.Testing.NSubstitute" Version="2.0.4" />
paket add EntityFrameworkCore.Testing.NSubstitute --version 2.0.4
#r "nuget: EntityFrameworkCore.Testing.NSubstitute, 2.0.4"
// Install EntityFrameworkCore.Testing.NSubstitute as a Cake Addin
#addin nuget:?package=EntityFrameworkCore.Testing.NSubstitute&version=2.0.4
// Install EntityFrameworkCore.Testing.NSubstitute as a Cake Tool
#tool nuget:?package=EntityFrameworkCore.Testing.NSubstitute&version=2.0.4
A mocking library for EntityFrameworkCore (EFCore) using NSubstitute. Provides a functionally complete DbContext for your tests.
This is achieved by extending the in-memory provider, mocking relational and queryable operations to provide support for Queries/Keyless DbSets, FromSqlRaw/FromSqlInterpolated, ExecuteSqlCommand/ExecuteSqlRaw/ExecuteSqlInterpolated, and async LINQ operations.
Support is also provided for other LINQ operations not supported by the in-memory provider, such as ElementAt, SkipWhile, TakeWhile, etc.
Product | Versions 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.EntityFrameworkCore.InMemory (>= 3.0.0)
- Microsoft.EntityFrameworkCore.SqlServer (>= 3.0.0)
- Microsoft.Extensions.Logging (>= 3.0.0)
- NSubstitute (>= 4.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.0 | 47,673 | 11/24/2023 |
8.0.0-rc01 | 377 | 11/19/2023 |
5.0.0 | 84,975 | 1/4/2023 |
5.0.0-rc01 | 306 | 12/14/2022 |
4.0.2 | 61,426 | 6/11/2022 |
4.0.2-rc01 | 224 | 6/7/2022 |
4.0.1 | 769 | 6/7/2022 |
4.0.1-rc01 | 152 | 5/23/2022 |
4.0.0 | 31,635 | 11/15/2021 |
4.0.0-net6.preview.5 | 5,287 | 6/18/2021 |
4.0.0-net6.preview.4 | 201 | 5/25/2021 |
4.0.0-net6.preview.3 | 208 | 4/24/2021 |
3.0.5 | 1,914 | 6/11/2022 |
3.0.4 | 501 | 6/7/2022 |
3.0.4-beta01 | 1,284 | 5/16/2021 |
3.0.3 | 49,882 | 5/9/2021 |
3.0.3-rc01 | 277 | 5/9/2021 |
3.0.2 | 616 | 4/24/2021 |
3.0.2-rc02 | 279 | 4/24/2021 |
3.0.1 | 1,302 | 4/4/2021 |
3.0.1-rc01 | 347 | 4/4/2021 |
3.0.0 | 6,194 | 3/1/2021 |
2.4.5 | 749 | 6/11/2022 |
2.4.4 | 412 | 6/7/2022 |
2.4.3 | 3,333 | 5/15/2021 |
2.4.2 | 401 | 4/24/2021 |
2.4.2-rc01 | 225 | 4/24/2021 |
2.4.1 | 378 | 4/4/2021 |
2.4.1-rc01 | 308 | 4/4/2021 |
2.4.0 | 9,358 | 3/1/2021 |
2.3.2 | 20,012 | 11/14/2020 |
2.3.1 | 7,027 | 9/24/2020 |
2.3.0 | 9,148 | 9/20/2020 |
2.2.2 | 3,084 | 7/13/2020 |
2.2.1 | 1,408 | 5/22/2020 |
2.2.0 | 1,301 | 3/8/2020 |
2.1.0 | 1,252 | 1/22/2020 |
2.0.4 | 561 | 1/19/2020 |
2.0.3 | 616 | 1/5/2020 |
2.0.3-RC05 | 389 | 12/30/2019 |
2.0.3-RC04 | 423 | 12/28/2019 |
2.0.3-RC03 | 490 | 12/28/2019 |
2.0.3-RC02 | 401 | 12/22/2019 |
1.3.5 | 551 | 6/11/2022 |
1.3.4 | 495 | 6/7/2022 |
1.3.3 | 571 | 5/15/2021 |
1.3.2 | 396 | 4/24/2021 |
1.3.2-rc01 | 218 | 4/24/2021 |
1.3.1 | 452 | 4/4/2021 |
1.3.1-rc01 | 239 | 4/4/2021 |
1.3.0 | 768 | 3/1/2021 |
1.2.1 | 1,767 | 11/14/2020 |
1.2.0 | 512 | 9/20/2020 |
1.1.2 | 1,509 | 7/13/2020 |
1.1.1 | 623 | 5/22/2020 |
1.1.0 | 679 | 3/8/2020 |
1.0.7 | 589 | 1/19/2020 |
1.0.6 | 643 | 1/5/2020 |
1.0.6-RC04 | 401 | 12/28/2019 |
1.0.6-RC02 | 382 | 12/22/2019 |
1.0.5 | 594 | 12/17/2019 |
1.0.4 | 602 | 11/14/2019 |
1.0.3 | 605 | 11/11/2019 |
1.0.2 | 759 | 10/27/2019 |