Do I need to create a FinalRun account?
Do I need to create a FinalRun account?
No. FinalRun is open-source and runs entirely from the command line. Install the CLI, set your AI provider API key, and start running tests. There is no account, signup, or FinalRun subscription required.
Which AI providers does FinalRun support?
Which AI providers does FinalRun support?
FinalRun supports three AI providers. You bring your own key (BYOK) — costs are billed directly by your provider at standard API rates.
Set the key in your shell or in a
| Provider | Supported models | Environment variable |
|---|---|---|
| Gemini 3+ | GOOGLE_API_KEY | |
| OpenAI | GPT-5+ | OPENAI_API_KEY |
| Anthropic | Claude Sonnet 4 / Opus 4+ | ANTHROPIC_API_KEY |
.env file at your workspace root. You can also override it for a single run with the --api-key flag.Does FinalRun work with real devices or only emulators?
Does FinalRun work with real devices or only emulators?
Currently FinalRun targets Android emulators (AVDs) and iOS simulators for local runs. Support for cloud devices and physical hardware is on the roadmap.If you want early access to cloud device support, join the waitlist.
Which platforms does FinalRun support?
Which platforms does FinalRun support?
- Android — any macOS, Linux, or Windows machine with Android SDK tools (
adb,emulator,scrcpy) installed and a running Android Virtual Device. - iOS — macOS only. Requires Xcode command line tools with
xcrun simctl.
finalrun doctor to check that all required dependencies are present on your machine before running tests.How much does each test run cost?
How much does each test run cost?
FinalRun itself is free and open-source. You pay your AI provider — Google, OpenAI, or Anthropic — for the tokens consumed during test execution. The cost depends on the model you choose and how long the test takes to complete. There are no additional charges from FinalRun.
Can I run FinalRun in CI/CD?
Can I run FinalRun in CI/CD?
Yes. Install the CLI in your CI environment and set the required environment variables — your AI provider API key, Run
ANDROID_HOME (for Android), and any secrets your test specs reference. Then call finalrun test or finalrun suite as a step in your pipeline.finalrun check before your test step to catch workspace configuration errors early, before you consume any API tokens.What is the three-phase test execution model?
What is the three-phase test execution model?
Every FinalRun test has three phases:
setup— optional actions that prepare a clean state before the test starts (for example, clearing app data).steps— the ordered, plain-English instructions the AI executes on your device screen.expected_state— the UI conditions the AI verifies once all steps have completed.
What is finalrun check for?
What is finalrun check for?
finalrun check validates your entire workspace before you run any tests. It checks:- Selector definitions
- Suite manifests
- Environment bindings (secrets and variables)
- App overrides
finalrun check before a test run catches configuration errors early, so you are not spending API tokens on a run that will fail at startup.How do I use FinalRun with AI coding agents like Claude Code or Cursor?
How do I use FinalRun with AI coding agents like Claude Code or Cursor?
FinalRun ships a set of agent skills that let you generate tests, run them, and fix failures — all from your AI coding agent chat. Install the skills with:Once installed, three slash commands are available in your AI coding agent:
| Command | What it does |
|---|---|
/finalrun-generate-test | Reads your source code, infers app identity, and generates complete YAML test specs |
/finalrun-use-cli | Validates and runs your tests using the CLI |
/finalrun-test-and-fix | Runs the full generate → run → diagnose → fix loop until the test is green |
Where are test artifacts stored?
Where are test artifacts stored?
Artifacts for each run — including video, screenshots, and device logs — are stored at:Use
finalrun runs to list all recorded runs for your current workspace, and finalrun start-server to open the visual report UI where you can browse results interactively.