Repl.Testing
0.12.0-dev.185
This is a prerelease version of Repl.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 Repl.Testing --version 0.12.0-dev.185
NuGet\Install-Package Repl.Testing -Version 0.12.0-dev.185
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="Repl.Testing" Version="0.12.0-dev.185" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Repl.Testing" Version="0.12.0-dev.185" />
<PackageReference Include="Repl.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 Repl.Testing --version 0.12.0-dev.185
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Repl.Testing, 0.12.0-dev.185"
#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 Repl.Testing@0.12.0-dev.185
#: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=Repl.Testing&version=0.12.0-dev.185&prerelease
#tool nuget:?package=Repl.Testing&version=0.12.0-dev.185&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Repl.Testing
Website: repl.yllibed.org
Repl.Testing is an in-memory harness for multi-step and multi-session tests over a Repl command surface.
It also covers the process-signal lifecycle: ReplProcessSignalHarness drives SIGINT, SIGTERM and
Ctrl+Break in memory — deterministically, and for any platform's decisions from any host — and
ReplProcessProbe spawns your application to show what only a real process can, that it terminates
with the code a shell sees.
Install
dotnet add package Repl.Testing
Example
using Repl;
using Repl.Testing;
await using var host = ReplTestHost.Create(() =>
{
var app = ReplApp.Create().UseDefaultInteractive();
app.Map("hello", () => "world");
return app;
});
await using var session = await host.OpenSessionAsync();
var execution = await session.RunCommandAsync("hello --no-logo");
Docs
- Cookbook: Testing — test host setup, typed assertions, multi-session, interaction supply
- Best Practices — test-first patterns and testing at the command level
- Testing toolkit: process signals — signal tests, declaring a platform, and what needs a spawned process
| 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
- Repl.Defaults (>= 0.12.0-dev.185)
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.12.0-dev.199 | 48 | 10/25/2026 |
| 0.12.0-dev.185 | 61 | 10/22/2026 |
| 0.12.0-dev.184 | 55 | 10/22/2026 |
| 0.12.0-dev.183 | 54 | 10/22/2026 |
| 0.12.0-dev.182 | 59 | 10/22/2026 |
| 0.12.0-dev.181 | 60 | 10/22/2026 |
| 0.12.0-dev.172 | 57 | 10/21/2026 |
| 0.12.0-dev.166 | 55 | 10/21/2026 |
| 0.12.0-dev.161 | 61 | 10/21/2026 |
| 0.12.0-dev.158 | 65 | 10/20/2026 |
| 0.12.0-dev.156 | 59 | 10/20/2026 |
| 0.12.0-dev.152 | 60 | 10/20/2026 |
| 0.12.0-dev.148 | 68 | 10/18/2026 |
| 0.12.0-dev.136 | 59 | 10/18/2026 |
| 0.12.0-dev.135 | 60 | 10/18/2026 |
| 0.12.0-dev.132 | 54 | 10/17/2026 |
| 0.12.0-dev.131 | 62 | 10/17/2026 |
| 0.12.0-dev.123 | 79 | 9/22/2026 |
| 0.12.0-dev.98 | 81 | 9/21/2026 |
| 0.11.0 | 994 | 7/15/2026 |
Loading failed