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

LibTmux.Testing.TemporaryHierarchyScope

.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/TemporaryHierarchyScope.cs
class LibTmux.Testing.TemporaryHierarchyScope
class [source]
class [source]
class LibTmux.Testing.TemporaryHierarchyScope

A server, session, window, and pane a test owns together.

Most tests want somewhere to type, which is four objects deep. Making them one at a time leaves a test holding four scopes and disposing them in the right order; one scope owns the lot and unwinds from the server, which takes everything inside it with it.

Discussed in Context managers

5 declared, 0 inherited

Members

Esc

Type to search.