Command Line Options¶
The CLI supports various parameters to customize report generation, formatting, delivery, and behavior across CI or local workflows.
Overview¶
Option |
Description |
Default |
Use Case |
|---|---|---|---|
|
Name of the JSON report file generated alongside the HTML report |
|
Use in CI to parse/export test metadata |
|
When to capture screenshots |
|
Useful in flaky UI tests to get screenshots on failure |
|
Directory for HTML output |
|
Customize output directory per CI job |
|
Load a named profile from |
|
Reuse a standard reporting configuration across local runs and CI |
|
Send HTML report via email |
|
Enable in scheduled test runs (nightly builds) |
|
Auto-open report after run |
|
Open only when failures occur locally |
|
Generate a combined XML for CI/coverage |
|
Integrate with CI tools expecting JUnit XML |
|
Path for XML report |
|
Useful when generating multiple output types |
|
Include environment variables in the execution metadata. |
Default: None |
Useful for adding CI or custom environment metadata (safe values only). |
|
Branch name to display in the report. |
Default: “NA” |
Useful when running tests manually or when CI does not provide branch information. |
|
Commit SHA to display in the report. |
Default: “NA” |
Useful for ensuring traceability when CI does not set commit environment variables. |
Detailed Option Usage¶
For detailed information, examples, and best practices for each parameter, see: