LogoLogo
  • Overview
    • Quickstart
    • FAQ
    • Overview
    • Pricing
    • Comparison
    • Discord
  • Pro Setup
    • Book a Demo
    • 30x30 Promotion
  • Guides
    • Generate a Test Suite
    • Local Agent Setup
    • Prompting
    • Getting an API Key
    • GitHub Actions
      • GitHub Action Setup
      • Prerun Scripts
      • Environment Config
      • Parallel Testing
      • Storing Secrets
      • Optimizing Performance
      • Action Output
      • Examples
        • Test Generation
        • Parallel Testing
        • Importing Tests
        • Desktop Apps
        • Secure Log In
    • Debugging Test Runs
    • Monitoring Performance
  • Reference
    • Test Steps
      • assert
      • exec
      • focus-application
      • hover-image
      • match-image
      • hover-text
      • if
      • press-keys
      • remember
      • run
      • scroll
      • scroll-until-image
      • scroll-until-text
      • type
      • wait
      • wait-for-image
      • wait-for-text
    • Interactive Commands
      • /assert
      • /undo
      • /save
      • /run
      • /generate
    • CLI
      • testdriverai init
      • testdriverai [file]
      • testdriverai run [file]
  • Security & Privacy
    • Agent
    • Action
    • Dashboard
  • FAQ
    • Screen Recording Permissions (Mac Only)
    • Status Page
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Reference
  2. CLI

testdriverai init

Set up a local project.

Run the initcommand to trigger the testdriverai interactive setup.

testdriverai init

TestDriver will walk you through .envcustomization and clone sample workflow files to deploy tests. See GitHub Actions.

Spawning GUI...
Howdy! I'm TestDriver v4.2.7
Working on /Users/ianjennings/demo-setup/testdriver/testdriver.yml

This is beta software!
Join our Discord for help
https://discord.com/invite/cWDFW8DzPm

Warning! TestDriver sends screenshots of the desktop to our API.
https://docs.testdriver.ai/security-and-privacy/agent

Welcome to the Testdriver Setup!

This is a preview of the Testdriver.ai
Please report any issues in our Discord server:
https://discord.com/invite/cWDFW8DzPm

Beginning setup...

✔ Enable desktop notifications? … yes
✔ Minimize terminal app? … yes
✔ Enable text to speech narration? … yes
✔ Send anonymous analytics? … yes
✔ Where should we append these values? … .env

Writing .env...

Downloading latest workflow files...

Writing .github
Writing .github/workflows
Writing .github/workflows/testdriver.yml

Testdriver setup complete!

Create a new test by running:
testdriverai testdriver/test.yml
PreviousCLINexttestdriverai [file]

Last updated 1 month ago

Was this helpful?