Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-dotnet latest

TmuxTestContext

Namespace LibTmux.Testing.TmuxTestContext LibTmux.Testing

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

View as Markdown

Source and package
Module
LibTmux.Testing
Package
LibTmux
Source
src/LibTmux.Testing/TmuxTestContext.cs
class LibTmux.Testing.TmuxTestContext
class [source]

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.
Esc

Type to search.