tmux-testing
OfficialDeterministic TUI tests with tmux
Authorinvowk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
tmux-Based TUI Testing addresses the challenge of reliably testing text-based terminal interfaces by validating not only the output text but also ANSI styling, state transitions, and navigation flows in a deterministic, CI-friendly manner. The approach uses tmux sessions to drive TUIs, capture panes, and analyze results without relying on pixel-based rendering, enabling repeatable tests across environments.
Core Features & Use Cases
- Deterministic TUI test harness: Create and manage tmux sessions to drive keyboard input and verify panel content and ANSI styling.
- Comprehensive command references: Built-in helpers to start sessions, send input, capture output with or without ANSI codes, and assert states.
- CI-ready workflows: Scripted tests that can be integrated into CI pipelines, ensuring robust UI flows and regression coverage.
- Use Case: Validate a TUI that lets users navigate menus and selections by simulating keystrokes and asserting the selected item and resulting output.
Quick Start
Initialize a tmux session and run the tmux-testing scripts to verify TUI output.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tmux-testing Download link: https://github.com/invowk/invowk/archive/main.zip#tmux-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.