CLI Commands
Test Execution
Run your automated tests with bugster run
Make sure you have generated tests before attempting to run them.
Command Usage
bugster run
Execute your automated tests with various execution modes and output options.
Arguments:
PATH
- Optional path to test file or directory (defaults to.bugster/tests
)
Options:
--headless
- Run tests in headless mode--silent, -s
- Run in silent mode with less verbose output--stream-results
- Stream test results as they complete--base-url URL
- Override the base URL for the test run--output FILE
- Save test results to a JSON file--run-id ID
- Associate a specific run ID with the test execution
Examples
Understanding Results
Console Output
JSON Output (when using —output)
Common Issues
Tests fail on first run:
- Check your application is running at the base URL
- Verify authentication credentials in config
Tests taking too long:
- Use
--headless
for faster execution - Check if your application is responding slowly
Browser issues:
- Make sure browser dependencies are installed
- Try running without
--headless
to see what’s happening