Kane CLI is a command-line tool for end-to-end testing, with the core goal of automating the entire flow from requirements to verification results. Users provide a requirement document or directly describe a feature, and the tool sequentially designs cases, acceptance criteria, and scenarios, and generates one runnable test for each scenario, with each test kept associated with its corresponding acceptance criteria. Design decisions can be replayed via kane-cli design explain.
Main capabilities include:
- Test generation and execution: generate test suites from requirements and execute them on desktop web, Android, and iOS (simulators, emulators, and real devices).
- Kane Exploration: when there is no requirement document, explore a web application through up to 20 cloud browsers, build a map of screens, flows, and findings, and design cases, scenarios, and tests based on it.
- Evidence bundle: each run generates an .evidence file containing the test definition, results, per-step screenshots, browser console/network logs, and failure records, which can be opened via a local viewer.
- Coverage report: kane-cli cover reports the proof of execution against each acceptance criterion, as well as what the design still lacks.
- Test maintenance: kane-cli maintain reconcile helps cope with the impact of requirement changes on the test suite.
- Plain-English objective execution: kane-cli run "<objective>" can launch a real Chrome or mobile device to perform tasks such as navigation, clicking, form filling, screenshots, and value extraction, and return structured results.
- Test files: supports writing tests as _test.md files and committing them to the repository, with steps as plain-English objectives; after the first run, the recording is saved and subsequently replayed from cache, with support for @import composition, tags, and batch runs.
- AI coding agent integration: provides skill installation so that agents such as Cursor, Claude Code, GitHub Copilot, Codex, and Gemini can verify code with a real browser or app before committing.
Usage:
- Installation: npm (requires Node 18+) or Homebrew (macOS/Linux, no Node required).
- Dependencies: requires a locally installed Google Chrome (stable); a non-standard path can be specified via KANE_CLI_CHROME_PATH, or set KANE_CLI_SKIP_BROWSER_DOWNLOAD to skip the check.
- Mobile testing: locally limited to macOS Apple Silicon, requires Xcode or Android Studio; real devices or cloud grids require the corresponding TestMu AI plan.
- Automation output: use --agent to output NDJSON for easy script parsing; the run_end event has a stable schema.
- CI usage: supports non-interactive login and provides GitHub Actions, GitLab, Jenkins, and Docker recipes.
- Interactive TUI: kane-cli --tui provides an interface for writing and exploring objectives.
Applicable scenarios:
- Quickly generate and execute end-to-end tests from requirements.
- Serve as a quality gate in CI.
- Serve as a verification layer for AI coding agents, checking how agent-generated code behaves in a real browser or app.
- Testing workflows that require evidence and proof of coverage.
Limitations:
- Requires local Chrome (or specified via environment variable).
- Local mobile testing is limited to macOS Apple Silicon.
- Real device or cloud grid testing requires a paid plan (KaneAI Max or credits + Real Device Plus Automation Cloud).
- Some features (such as remote execution) require installing plugins and the corresponding plan.
- The documentation does not clearly specify all pricing details, so they are not provided for now.