← ClaudeAtlas

testdriverquickstart-clilisted

Scaffold a project, connect TestDriver to your AI client, and run your first test.
testdriverai/testdriverai · ★ 243 · Testing & QA · score 73
Install: claude install-skill testdriverai/testdriverai
<!-- Generated from quickstart-cli.mdx. DO NOT EDIT. --> Use the TestDriver CLI to scaffold a project, connect your AI client, and run the example test. `testdriverai init` installs three things so you can write, run, and debug real end-to-end tests from chat: - **The agent**: an expert test-writer. It controls a live sandbox, writes code after each step, and re-runs the test until it passes. - **Skills**: small instruction files that teach the agent the correct syntax for each TestDriver capability (`find`, `click`, `type`, `assert`, and more). - **The MCP server**: exposes TestDriver's computer-use tools through the [Model Context Protocol](https://modelcontextprotocol.io) so any MCP client can call them. <Info> **Prerequisites** - [Node.js](https://nodejs.org) 20.19 or later - A TestDriver account. [Create one for free](https://console.testdriver.ai/settings). You get 60 device minutes, no credit card required. </Info> <Steps> <Step title="Scaffold a project"> Make a new folder (or open an existing project) and run `init`: ```bash mkdir my-tests && cd my-tests npx testdriverai init ``` `init` asks two questions: 1. **How to authenticate.** Choose **Login with browser** to sign in and save your key automatically, or paste an API key from [console.testdriver.ai/settings](https://console.testdriver.ai/settings). Either way, it is saved to `.env` as `TD_API_KEY`. 2. **Which AI clients to set up.** Pick VS Code, Cursor, Claude Code, an