{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:hackage/tuispec","name":"tuispec","description":"tuispec is a Haskell framework for black-box testing of terminal user\ninterfaces (TUIs) over PTY.\n.\nIt provides a Playwright-inspired DSL for launching apps, sending\nkeystrokes, waiting for text, and capturing snapshots (ANSI text + PNG).\n.\nTests are regular compiled Haskell programs using tasty with per-test\nisolation via fresh PTY processes. The framework is generic to any TUI\nbinary runnable from a shell, with no instrumentation required inside the\ntarget app.\n.\nFeatures include:\n.\n* PTY transport with per-test isolation\n* Text selectors (Exact, Regex, At, Within, Nth)\n* Keypress and text input actions\n* Snapshot assertions with ANSI text + PNG artifacts\n* Configurable retry, timeout, and ambiguity modes\n* JSON-RPC server for interactive orchestration\n* REPL-style session mode for ad-hoc exploration","version":"0.3.1.1","softwareVersion":"0.3.1.1","license":"https://spdx.org/licenses/MIT","codeRepository":"https://github.com/Tritlo/tuispec","issueTracker":"https://github.com/Tritlo/tuispec/issues","url":"https://github.com/Tritlo/tuispec","keywords":["library","mit","program","testing","Propose Tags"],"programmingLanguage":{"@type":"ComputerLanguage","name":"Haskell"},"maintainer":[{"@type":"Person","name":"tritlo"}],"author":[{"@type":"Person","name":"tritlo"}],"copyrightHolder":[{"@type":"Person","name":"tritlo"}],"dateCreated":"2026-02-23","dateModified":"2026-06-06","datePublished":"2026-06-06","copyrightYear":2026,"downloadUrl":"https://hackage.haskell.org/package/tuispec-0.3.1.1/tuispec-0.3.1.1.tar.gz","applicationCategory":"hackage","runtimePlatform":"hackage","developmentStatus":"active","sameAs":["https://hackage.haskell.org/package/tuispec"],"https://www.w3.org/ns/activitystreams#likes":7,"https://forgefed.org/ns#forks":1}