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.
Usage
Available commands
Command | Description |
---|---|
run | Executes a TestDriver test. |
edit | Launch interactive mode. |
help | Displays help information for the CLI or a specific command. |
Available Flags
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 | Create a new sandbox environment for the test run. |
--summary=<value> | Output file where AI summary should be saved. |
--junit=<value> | Output file where junit report should be saved. |
Example usage
Running a test script
Initializing a new project
Getting help
Protips
- Combine
run
and--headless
with CI/CD pipelines to automate test execution.