Getting Started
Running Tests with TestDriver
Execute regression test files for debugging and validation.
Run tests using previously created test scripts. This command replays the steps defined in the YAML file, performing each action sequentially.
You can run a test script by specifying the file path in the terminal or interactively within the TestDriver CLI.
Example in terminal
This will execute the test script located at path/to/test.yaml
. If the test passes, the command will exit with a status code of 0
. If it fails, the command will exit with a status code of 1
.
Interactive mode
To run a test interactively:
- Launch the TestDriver CLI:
- At the
>
prompt, type:
Notes
- Ensure the YAML file is valid and follows the TestDriver specification.
- The default file path is
testdriver/testdriver.yaml
if no file is specified.
Running Tests in CI
Run tests with Hosted Runnings in GitHub Actions