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

TmuxTestFactory

Namespace LibTmux.Testing.TmuxTestFactory LibTmux.Testing

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

View as Markdown

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

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.

Discussed in Testing with libtmux

Members6 members#

Common operations1 member#

Other members5 members#

Esc

Type to search.