Learn about the TestDriver CLI, its commands, and how to use it effectively.
testdriverai
CLI is the primary interface for running, managing, and debugging TestDriver scripts. It provides commands to execute tests, validate configurations, and interact with the TestDriver framework.
Command | Description |
---|---|
run | Executes a TestDriver test. |
edit | Launch interactive mode. |
help | Displays help information for the CLI or a specific command. |
Flag | Description |
---|---|
--heal | Launch exploratory mode and attemp to recover if an error or failing state is encountered. |
--write | Ovewrite test file with new commands resulting from agentic testing |
--headless | Run test without opening a browser window (useful for CI/CD environments) |
--new-sandbox | Create a new sandbox environment for the test run. |
--summary=<value> | Output file where AI summary should be saved. |
run
and --headless
with CI/CD pipelines to automate test execution.