LevelUp.Bifrost.Testing 4.0.0

dotnet add package LevelUp.Bifrost.Testing --version 4.0.0
                    
NuGet\Install-Package LevelUp.Bifrost.Testing -Version 4.0.0
                    
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="LevelUp.Bifrost.Testing" Version="4.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LevelUp.Bifrost.Testing" Version="4.0.0" />
                    
Directory.Packages.props
<PackageReference Include="LevelUp.Bifrost.Testing" />
                    
Project file
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 LevelUp.Bifrost.Testing --version 4.0.0
                    
#r "nuget: LevelUp.Bifrost.Testing, 4.0.0"
                    
#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 LevelUp.Bifrost.Testing@4.0.0
                    
#: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=LevelUp.Bifrost.Testing&version=4.0.0
                    
Install as a Cake Addin
#tool nuget:?package=LevelUp.Bifrost.Testing&version=4.0.0
                    
Install as a Cake Tool

Strategos Testing

Use ExecutionHarness.Clock as the host's TimeProvider in a test. Advance it only after the worker reaches the test barrier. ControlledDelivery<T> lets the test choose delivery order and replay the same message ID and body.

Pass the harness as an ITransactionObserver when configuring a host that observes transaction checkpoints. To block a particular invocation, configure StopAt with its transaction, moment, invocation ID, and, for AfterWrite, write name. Wait for Reached, then continue the operation or interrupt it. Each barrier stops one arrival.

An interruption before commit lets the host roll back. An interruption at AfterCommit exercises a lost response after state has committed. Keep persisted state across host replacement and redeliver the original message to exercise restart recovery.

For compiled local schedules, register a shared FakeTimeProvider as the host's TimeProvider and construct LocalSchedulerHarness with the host's LocalScheduleDelivery. AdvanceAsync advances that clock and runs due work. FireDueJobsAsync keeps the current instant. Both wait for the deployed local pools to settle. WaitForIdleAsync also accepts a real-time timeout, so an unreleased handler can fail the test while the simulated clock is stationary.

To observe local calendar changes, register a LocalScheduleEventLog with a bounded capacity in the execution host. Read or follow one exact schedule scope using Read or Observe. Resume from the returned cursor and handle LostHistory when the process has evicted older entries. Calendar notices include committed lifecycle changes, manual triggers, counted misses and delivery results. ObserveFaults reports delivery faults for a trusted host operator. Use the journal's occurrence history for retained work IDs and PostgreSQL history across process restarts. Application authorization still owns access to schedule operations.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.

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.0 41 12/5/2026