Launch your application
Choose a trusted command and viewport. A real PTY lets the application behave like an interactive terminal session.
Author a test →TERMINAL END-TO-END TESTING
A real terminal. An authored test.
A failure you can understand.
Playtestr drives interactive CLIs and TUIs with keyboard input, checks the rendered screen, and keeps the evidence when a regression breaks your flow.
Standalone binary. No account. Windows, Linux and Apple silicon macOS.
PRERELEASE v0.4.0-rc.3 · Wide-character repair →examples/menu.json
Rendered screen
PLAYTESTR / mission control > Deploy preview Run diagnostics Exit Use arrow keys and Enter. Press q to quit.
Playtestr waits until the initial selection is visible.
Step 1 of 6
Fixture evidence from the repository; interactive data is loading.
THE WORKFLOW
Choose a trusted command and viewport. A real PTY lets the application behave like an interactive terminal session.
Author a test →Wait for visible text, send keys, resize, and compare a reviewed screen. Assert the exact exit code when the command finishes.
Review snapshots →Get a nonzero result with the failed step, final screen and diff. Export an offline report for a useful CI-to-local handoff.
Inspect the evidence →Offline HTML reports require v0.3.0-rc.1 or newer.
READABLE FAILURE EVIDENCE
Snapshot failures show what you expected and what the application rendered. Review the difference before changing a baseline.
Explore real failure reports →Sanitized evidence from the repository's deliberate menu regression.
PLAYTESTR / mission control
…
− > Run diagnostics
− Diagnostics: all systems healthy.
+ > Deploy preview
+ Preview deployed successfully.Expected screen · Actual screen · Text diff
BUILT FOR REGRESSION WORK
Step deadlines, run budgets, output limits and cancellation keep a failure finite. Managed cleanup is reported separately.
Execution contract →Opt-in workspaces give stateful tests a fresh, bounded fixture copy and explicit cleanup outcomes.
Workspace guide →v0.4.0-rc.1 or newer · spec v2Pin one runner version, run your suite and retain the evidence. The setup action verifies the release before making it available.
GitHub Actions guide →No. The release binary runs on its own. Your target application and any runtime it needs remain your responsibility. Go is needed only when building from source.
v0.1.0 is the stable MVP. v0.4.0-rc.3 is the newer verified prerelease, with suites, offline HTML reports, workspaces and the selected CJK repair. Check the release notes.
Windows amd64, Linux amd64 and macOS arm64 have native release evidence. This does not establish support for every OS version, terminal application or architecture. See the evidence.
No. Playtestr uses a real PTY and runs explicitly trusted targets with your permissions. Managed process cleanup has documented platform boundaries.
No. Baseline updates are explicit and reviewed. Staged updates commit only after the test and cleanup succeed. Understand a changed screen before making it the new expected result.
START WITH ONE USEFUL TEST
The first-test walkthrough includes a pass, an intentional failure and recovery.