tuispec
tuispec is a Haskell framework for black-box testing of terminal user interfaces (TUIs) over PTY. . It provides a Playwright-inspired DSL for launching apps, sending keystrokes, waiting for text, and capturing snapshots (ANSI text + PNG). . Tests are regular compiled Haskell programs using tasty with per-test isolation via fresh PTY processes. The framework is generic to any TUI binary runnable from a shell, with no instrumentation required inside the target app. . Features include: . * PTY transport with per-test isolation * Text selectors (Exact, Regex, At, Within, Nth) * Keypress and text input actions * Snapshot assertions with ANSI text + PNG artifacts * Configurable retry, timeout, and ambiguity modes * JSON-RPC server for interactive orchestration * REPL-style session mode for ad-hoc exploration
hackage.haskell.org
0.2.0.0
about 8 hours ago
2
1 total
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| JSON API | View JSON |
| CodeMeta | codemeta.json |