Repl.Testing 0.12.0-dev.161

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.
dotnet add package Repl.Testing --version 0.12.0-dev.161
                    
NuGet\Install-Package Repl.Testing -Version 0.12.0-dev.161
                    
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.161" />
                    
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.161" />
                    
Directory.Packages.props
<PackageReference Include="Repl.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 Repl.Testing --version 0.12.0-dev.161
                    
#r "nuget: Repl.Testing, 0.12.0-dev.161"
                    
#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.161
                    
#: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.161&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Repl.Testing&version=0.12.0-dev.161&prerelease
                    
Install as a Cake Tool

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

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
0.12.0-dev.199 46 10/25/2026
0.12.0-dev.185 60 10/22/2026
0.12.0-dev.184 55 10/22/2026
0.12.0-dev.183 53 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 56 10/21/2026
0.12.0-dev.166 54 10/21/2026
0.12.0-dev.161 60 10/21/2026
0.12.0-dev.158 64 10/20/2026
0.12.0-dev.156 59 10/20/2026
0.12.0-dev.152 59 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 61 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