BackgroundOnce.EFCore
0.0.46
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BackgroundOnce.EFCore --version 0.0.46
NuGet\Install-Package BackgroundOnce.EFCore -Version 0.0.46
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="BackgroundOnce.EFCore" Version="0.0.46" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BackgroundOnce.EFCore" Version="0.0.46" />
<PackageReference Include="BackgroundOnce.EFCore" />
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 BackgroundOnce.EFCore --version 0.0.46
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BackgroundOnce.EFCore, 0.0.46"
#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 BackgroundOnce.EFCore@0.0.46
#: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=BackgroundOnce.EFCore&version=0.0.46
#tool nuget:?package=BackgroundOnce.EFCore&version=0.0.46
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BackgroundOnce
Support once-only execution of Specflow steps in the Background, similar to Nunit OneTimeSetup.
Example
To achieve this, and be super clear about this atypical behaviour, the following approach is taken
Background:
Given I execute Background steps1️⃣ only once
2️⃣
Scenario: Background steps1️⃣
Given the database engine is started
And standard reference data is created
3️⃣
Scenario: Employee details can be retrieved with reference data
...
3️⃣
Scenario: Reference data can be updated for all employees
...
See more details on GitHub
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- BackgroundOnce (>= 0.0.46)
- Microsoft.EntityFrameworkCore (>= 5.0.12)
- Microsoft.EntityFrameworkCore.InMemory (>= 5.0.12)
- Microsoft.EntityFrameworkCore.Sqlite (>= 5.0.12)
- SpecFlow (>= 3.9.40)
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 |
|---|---|---|
| 4.0.63-beta | 245 | 10/15/2022 |
| 4.0.62-beta | 236 | 10/15/2022 |
| 4.0.16-beta | 242 | 10/8/2022 |
| 0.0.46 | 528 | 12/17/2021 |
| 0.0.45 | 441 | 12/17/2021 |