testingterm
These docs were written by an AI agent. They were checked against the code, but may still contain mistakes; when in doubt, trust testingterm --help and the types.

Environment variables

Settings that apply without changing code.

Variable Effect
TESTINGTERM_HEADED=1 Open a window for every terminal
TESTINGTERM_SLOW_MO Milliseconds to wait after every action
TESTINGTERM_VIDEO on, off or retain-on-failure
TESTINGTERM_PROFILE=1 Record a profile for every terminal
TESTINGTERM_TIMEOUT Default timeout for waits and assertions, in milliseconds
TESTINGTERM_THEME Default theme for every terminal
TESTINGTERM_CAPABILITIES Default capabilities preset for every terminal
TESTINGTERM_ARTIFACTS Folder for artifacts
TESTINGTERM_ID The terminal that CLI commands act on
TESTINGTERM_AGENT claude or codex for verify
TESTINGTERM_GHOSTTY_CONFIG_DIRS Where theme: "ghostty" looks for Ghostty config, instead of the usual places
TESTINGTERM_DEBUG=1 Print engine timing and logs to stderr
TESTINGTERM_ENGINE Path to a testingterm-engine binary to use instead of the bundled one
TESTINGTERM_CHANNEL Release channel upgrade follows (stable or alpha)

Programs inside the terminal see TERM (xterm-256color by default, see capabilities), COLORTERM=truecolor, TERM_PROGRAM=testingterm, and LANG=en_US.UTF-8 when you have no locale set.