- Get started with example scripts for different platforms
- Get syntax highlighting and autocompletion for TestDriver YAML
- Chat with the TestDriver agent to generate tests based on your requirements
- Save and manage your tests directly within your project
- Run and debug tests directly from the IDE
- View test results and logs within the IDE
The TestDriver VS Code Extension is currently in beta. If you encounter any issues or have feedback, please let us know in Discord
1
2
Set Your TestDriver API Key
After installing the extension, you’ll need to set your TestDriver API key in the extension settings.
- Open the command palette (Cmd+Shift+P or Ctrl+Shift+P).
- Search for “Preferences: Open Settings (UI)” and select it.
- In the search bar, type “TestDriver” to filter the settings.
- Find the “TestDriver: Set API Key” field and enter your API key from the TestDriver dashboard.
You can also set the
TD_API_KEY
environment variable in your system if you prefer not to enter it directly in the extension settings.3
Choose a Platform
Click on the TestDriver icon in the sidebar to open the extension panel and choose a platform to get started (Web, Desktop, or Mobile).
4
Create Your First Test
Now chat with the TestDriver agent to create your first test! Describe what you want to test, and the agent will generate the test steps for you.
5
Run your test
Run your test by clicking the “Run” button in the extension panel. You can view the test results and logs directly within VS Code’s Test Explorer. Learn more about running tests in VS Code.
Pro Tip: Always start with interactive mode (
testdriverai
) to explore and refine your tests before saving them. It’s faster and more intuitive!