Compze.Threading.Testing
0.2.1-alpha
This is a prerelease version of Compze.Threading.Testing.
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 Compze.Threading.Testing --version 0.2.1-alpha
NuGet\Install-Package Compze.Threading.Testing -Version 0.2.1-alpha
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="Compze.Threading.Testing" Version="0.2.1-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.Threading.Testing" Version="0.2.1-alpha" />
<PackageReference Include="Compze.Threading.Testing" />
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 Compze.Threading.Testing --version 0.2.1-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Compze.Threading.Testing, 0.2.1-alpha"
#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 Compze.Threading.Testing@0.2.1-alpha
#: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=Compze.Threading.Testing&version=0.2.1-alpha&prerelease
#tool nuget:?package=Compze.Threading.Testing&version=0.2.1-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Compze.Utilities.SystemCE.ThreadingCE.Testing
Testing utilities for deterministic multi-threaded tests in Compze.
What is Compze?
Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more
What's in this package?
Deterministic threading test infrastructure: thread gates, gated code sections, and snapshot utilities for writing reliable multi-threaded tests.
ThreadGate
A gate that controls thread execution flow for deterministic testing:
var gate = ThreadGate.CreateWithTimeout(1.Seconds());
gate.Await(); // Block the current thread at the gate
gate.Open(); // Release all waiting threads
gate.AwaitPassedThrough(); // Wait until a thread has passed through
GatedCodeSection
Wraps a code section with entry/exit gates for fine-grained control:
var section = new GatedCodeSection();
section.EntryGate.Open(); // Allow threads to enter
section.ExitGate.Open(); // Allow threads to exit
Installation
dotnet add package Compze.Utilities.SystemCE.ThreadingCE.Testing
License
| Product | Versions 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.
-
net10.0
- Compze.Contracts (>= 0.6.0)
- Compze.SystemCE.Internal (>= 0.2.1-alpha)
- Compze.Threading (>= 0.3.0-alpha)
- Compze.Underscore (>= 0.5.0-beta)
- Compze.Utilities.Logging (>= 0.2.0-alpha.1)
- Compze.Utilities.SystemCE (>= 0.2.1-alpha)
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 |
|---|---|---|
| 0.5.0-alpha | 76 | 6/4/2026 |
| 0.2.1-alpha | 86 | 3/4/2026 |