Terminal Testing

Drive and test interactive terminal programs — shells, language REPLs (python/node/psql), full-screen TUIs (vim/htop/less), SSH sessions, and any CLI that prompts — over a pseudo-terminal (PTY). Use to spawn a program attached to a TTY, type commands and keystrokes, wait for expected output before sending more input, read raw scrollback or the rendered screen, send signals, and assert on output. The platform spawns the process itself (no attaching to a pre-existing external process). For one-shot non-interactive commands prefer `pty run`. For web pages use browser-testing; for server APIs use backend-testing.

ironbee-ai c06beb6 6.6 KB Updated

File contents

ironbee-ai/ironbee-devtools-skills/tree/main/skills/terminal-testing commit c06beb6f84

Frequently asked questions

npx skillmds@latest add ironbee-ai/terminal-testing