Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-dotnet

TmuxTestContext

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

Source and package
Qualified name
LibTmux.Testing.TmuxTestContext
Namespace
LibTmux.Testing
Package
LibTmux
Source
src/LibTmux.Testing/TmuxTestContext.cs
class LibTmux.Testing.TmuxTestContext

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.

Properties2

TmuxTestContext properties
NameTypeDescription
Environment TestEnvironment Gets the directory and variables the server was started with.
Server Server Gets the server this test owns.

Members1 members

Esc
Search in

Type to search.

Reference previewOpen reference