Tuikit is a Zig-native TUI testing toolkit built on Ghostty's `ghostty-vt` terminal emulation core, designed for programmatic interaction with terminal applications. It provides real terminal emulation, allowing applications to run in a pseudo-terminal exactly as they would in a real one. With features like cell-level inspection, advanced wait conditions, and golden file snapshots, Tuikit empowers developers to build robust automated tests for TUI applications, ensuring their behavior, output, and responsiveness are consistent and correct across different scenarios.
주요 기능
01Real terminal emulation using Ghostty's VT parser
02Cell-level inspection of characters and attributes
03Flexible wait conditions (text, stability, cursor position)
04Golden file snapshots for regression testing
05Manage up to 16 concurrent terminal sessions
060 GitHub stars
사용 사례
01Automated end-to-end testing of Terminal User Interface (TUI) applications
02Programmatic control and interaction with command-line tools and scripts
03Creating baseline screen snapshots for visual regression in TUI development