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

LibTmux.Testing.TmuxTestFactory

.NET
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

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

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

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.

6 declared, 0 inherited

Members

Esc

Type to search.