Install the TestDriver VS Code Extension
Comprehensive guide to installing and setting up TestDriver for VS Code
Get the VS Code Extension
Turn your IDE into a powerful computer-use automation tool with our VS Code extension.
Install the Extension
VS Code is the recommended IDE for TestDriver. First, install the following recommended extensions:
- GitHub Copilot Chat (The free plan is just fine!)
- VS Code YAML (Optional, but recommended for YAML validation)
Then, download the TestDriver extension:
Download the VS Code Extension
Get the latest version from GitHub releases.
Finally, install the extension in VS Code. You can do this by dragging and dropping the downloaded .vsix
file into the VS Code window.
VS Code is the recommended IDE for TestDriver. First, install the following recommended extensions:
- GitHub Copilot Chat (The free plan is just fine!)
- VS Code YAML (Optional, but recommended for YAML validation)
Then, download the TestDriver extension:
Download the VS Code Extension
Get the latest version from GitHub releases.
Finally, install the extension in VS Code. You can do this by dragging and dropping the downloaded .vsix
file into the VS Code window.
First, install the following recommended extension:
- VS Code YAML (Optional, but recommended for YAML validation)
Then download the TestDriver extension:
Download the VS Code Extension
Install the TestDriver extension from the VS Code Marketplace.
Finally, install the extension in Cursor. For more information on installing extensions in Cursor, check out the Cursor documentation.
Use JetBrains IDEs, VIM, or other editors? No problem! You can use TestDriver with the CLI. This quickstart contains both GUI and terminal commands to help you get started.
Install TestDriver
Install the TestDriver CLI globally:
Initialize Your Project
Set up your project with:
This creates a .env
file and sample workflow files.
Run TestDriver in Interactive Mode
Start TestDriver in interactive mode to create and refine tests dynamically:
Once started, you can use commands like /try
, /undo
, and /save
to interactively build and test your flows.
.yaml
file extension for all test files. This is a breaking change from v4 which uses the .yml
extension!Define Your Test Steps
Use natural language to describe what you want to test. For example:
TestDriver will generate steps like:
Refine and Save Your Test
- Use
/undo
to remove the last step if needed. - Save your test with
/save
to generate a reusable YAML file.
Run Saved Tests
Once saved, you can run your test file anytime:
Pro Tip: Always start with interactive mode (testdriverai
) to explore and refine your tests before saving them. It’s faster and more intuitive!