class libtmux-dotnet latest
TmuxTestContext
A tmux server a test owns, and the environment it runs in.
Source and package
- Module
- LibTmux.Testing
- Package
- LibTmux
- Source
- src/LibTmux.Testing/TmuxTestContext.cs
-
Description#
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.
Members3 members#
Other members3 members#
- DisposeAsync method
- Environment property Gets the directory and variables the server was started with.
- Server property Gets the server this test owns.