libtmux::test::ScopedTmuxServer
C++
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++
- Swift Unavailable
- Module
- libtmux::test
- Package
- libtmux-cxx
- Source
- include/libtmux/testing/scoped_server.hpp
-
A tmux server that exists for the lifetime of this value.
Owns a private socket and directory and kills the server on destruction, so suites running at once cannot see each other's sessions. Teardown reports rather than throws — a destructor that throws during a failing test hides the failure.
Discussed in C++ workspace builder examples · Context managers
13 declared, 0 inherited
Members
- ~ScopedTmuxServer method
- child_environment method
NAME=VALUEentries for a child that should reach this server and not the surrounding one:TMUX_TMPDIRinside the private tree,TMUXandTMUX_PANEabsent. - command_prefix method
- is_alive method
- ScopedTmuxServer method
- server_pid method
- session_name method
- socket_mode method
- socket_name method
- socket_namespace method
- socket_path method
- start method
- tmux_tmpdir method