Command reference

Every testis command and its options: set up, test your app with the AI tester, read the report, file bugs, sign in and manage models.

Global options work with every command: -C, --cwd <dir> (act as if started in this folder), -o, --output <pretty|json>, -V, --version, -h, --help. Run testis <command> --help for the same information in your terminal.

Setting up#

CommandWhat it does
testis setupGuided AI setup: pick a provider, paste a key, choose a model, test it.
testis configureOpen the setup page in your browser: the address (port) of your app, how it starts, the test logins and your PRD. Filled in with what Testis found. --no-open prints the address instead.
testis init [--api <url>] [--cli alias=command] [--web] [--force]Read the project and create .testis/config.yaml: how to start the app, its address, test logins and safety settings. The same as the setup page, without a browser.
testis inspectRead the project and show how Testis would start it, sign in, reset its data and keep it safe. Changes nothing.
testis prd promptPrint (and copy) the prompt that gets your coding assistant to write PRD.md: what your app should do, which the tester checks against. --no-copy only prints it.
testis doctorCheck that this machine is ready (Node, browser, project).
testis install-browsersDownload the browser used for web apps (once, about 150 MB). The first test does it by itself.
testis update [--check] [--disable] [--enable]Update the CLI; check only; turn update notices off or on.

Testing#

CommandWhat it does
testis test [focus...]The AI tester reads your PRD, writes its own to-do list and uses your app like a person: it clicks, types, signs in with your test logins, uploads files it makes, calls your API and runs your programs. It records what works and what is broken, with the text it saw and a screenshot. Give a focus to test one part: testis test "the checkout". Options: --web, --api, --cli (only that side), --minutes <n> (stop after this long, default 90), --headed (show the browser), --no-open (do not open the report), -e <env>, --base-url <url>, --no-start, --no-sync, --max-credits <n>. Ctrl-C stops after the current step and still writes the report.
testis report [runId]Show the latest report (or another run's) and open it. -f html|md|json, --no-open. See Reading a report.
testis issue <bug>File bug number <bug> of the latest report in GitHub Issues, Jira or Linear (set up under integrations). --print shows the text only; --to <github|jira|linear>. See Issue trackers and Slack.

--max-credits caps hosted-AI spend for the run (10,000 credits = $1).

Chat and coding agents#

CommandWhat it does
testisOpen the chat. Say "test my app", or type / for shortcuts.
testis -p "<request>"Answer one request and exit. --yes, --allow <tool> (repeatable).
testis menuA simple menu of actions, no chat.
testis mcpServe Testis to a coding agent over MCP.
testis agent installConnect Claude Code and Cursor. --agent claude|cursor|agents, --dry-run, --force.

AI models#

CommandWhat it does
testis models listProviders, key status, and which model serves each role.
testis models add <name>Add a provider (DeepSeek, Groq, OpenRouter, Ollama, or anthropic/openai/google).
testis models use --all <provider/model>Choose models. Or per role: judge=... (the tester) and planner=... (writes the to-do list). --global saves for all projects.
testis models fallback <provider/model>Switch to this model if credits or quota run out. --off removes it.
testis models test [target]Check that a model answers and returns structured output.
testis models remove <name>Remove a provider and its stored key.

Cloud#

CommandWhat it does
testis login [--api-url <url>] [--no-browser]Sign in. Opens your browser; nothing to paste.
testis logoutSign out on this machine.
testis whoamiWho you are, your plan and AI credit.
testis creditsCredit balance, this month's use and recent activity.
testis link [project]Link this project to a dashboard project.
testis sync [runId]Upload a saved run (default: the latest).

Exit codes#

0 no bugs found · 1 bugs found · 2 configuration problem · 3 environment problem (the app or the AI could not be reached) · 4 internal error.

Environment variables#

VariableEffect
TESTIS_TOKENSign in with an access token (for CI).
TESTIS_API_URLUse a different cloud address.
TESTIS_PROJECTThe dashboard project to upload to.
TESTIS_NO_UPDATE_CHECK=1Never check for a newer CLI version.
TESTIS_HOMEWhere Testis keeps your settings and keys (default ~/.testis).

Something unclear or wrong? Write to hello@testis.dev.