# LibTmux.Testing.TmuxTestContext

- **Module:** LibTmux.Testing
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Testing/TmuxTestContext.cs#L11
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-testing-tmuxtestcontext/

A tmux server a test owns, and the environment it runs in.

Disposing kills the server, so a test that forgets a session still leaves
nothing behind. The environment is reported so a test can spawn its own
processes the same way tmux was spawned.

## Members

- `Server` (property): Gets the server this test owns.
- `Environment` (property): Gets the directory and variables the server was started with.
- `DisposeAsync` (method)
