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

TmuxTestFactory

Makes the tmux objects a test needs, each owning its own cleanup.

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

Description

Every scope this hands out is disposable, and disposing unwinds as far as the scope owns: a session scope removes the session, a server scope kills the server. A test that takes a scope therefore cannot leak a tmux server, even when it fails part way through.

Members6 members

Common operations1

Other members5

Guides

task material

Pages that discuss TmuxTestFactory.

Esc
Search in

Type to search.

Reference previewOpen reference