LibTmux.Testing
0.0.0-alpha.17
Prefix Reserved
dotnet add package LibTmux.Testing --version 0.0.0-alpha.17
NuGet\Install-Package LibTmux.Testing -Version 0.0.0-alpha.17
<PackageReference Include="LibTmux.Testing" Version="0.0.0-alpha.17" />
<PackageVersion Include="LibTmux.Testing" Version="0.0.0-alpha.17" />
<PackageReference Include="LibTmux.Testing" />
paket add LibTmux.Testing --version 0.0.0-alpha.17
#r "nuget: LibTmux.Testing, 0.0.0-alpha.17"
#:package LibTmux.Testing@0.0.0-alpha.17
#addin nuget:?package=LibTmux.Testing&version=0.0.0-alpha.17&prerelease
#tool nuget:?package=LibTmux.Testing&version=0.0.0-alpha.17&prerelease
LibTmux.Testing
Scoped tmux servers, sessions and windows for testing code that drives tmux, on top of LibTmux.
Alpha. The public API is not settled and can change between prereleases without notice, so pin an exact version.
$ dotnet package add LibTmux.Testing --prerelease
Each scope owns what it created and tears it down on dispose, including after a failure, so a test that throws does not leave a server behind.
using LibTmux.Testing;
var factory = new TmuxTestFactory();
await using TemporaryHierarchyScope scope = await factory.CreateHierarchyAsync();
await scope.Pane.SendTextAsync("echo hello");
TmuxTestFactory creates the scopes and TmuxNameGenerator hands out names no
live session is using. Waiting for a state rather than sleeping is
TmuxWait.UntilAsync, which ships in LibTmux because reading back what a
command produced is ordinary client work, not test scaffolding.
This ships apart from LibTmux so an application that references the client
does not carry test scaffolding in its output or its trim closure.
License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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 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. |
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.0.0-alpha.17 | 45 | 9/27/2026 |
| 0.0.0-alpha.16 | 45 | 9/26/2026 |
| 0.0.0-alpha.15 | 63 | 9/20/2026 |
| 0.0.0-alpha.14 | 54 | 9/20/2026 |
Alpha. LibTmux, LibTmux.FSharp, LibTmux.Testing, LibTmux.Query.Json, LibTmux.Extensions.DependencyInjection, LibTmux.Workspace, LibTmux.Workspace.Cli and LibTmux.Mcp share one version, so this release covers them together. What changed, per package and per release: https://github.com/libtmux/libtmux-dotnet/blob/master/CHANGELOG.md The public API is not settled and may change without notice between prereleases; pin an exact version.