/hrtk export after a test run to write the results to disk. /hrtk run also generates both files automatically after each run.
Generating an Export
<plugin data directory>/results/ with a timestamp-based filename.
JSON Format
Field Reference
Root Object
Suite Object
Test Object
Status Values
Example: Parsing in Python
HTML Report
Every export generates an interactive HTML report alongside the JSON file. The HTML report includes:- Color-coded results - green for passed, red for failed, yellow for skipped
- Clickable filters - toggle pass/fail/skip visibility to focus on what matters
- Light/dark mode - automatically matches your browser preference, with a manual toggle
- Self-contained - the HTML file has no external dependencies, so it works offline
CI Integration
You can automate export by combining commands:HRTK does not automatically clean up old export files. If you run exports frequently, consider adding a cleanup step to your CI pipeline or server maintenance scripts.
Next Steps
- Console Output - human-readable output format
- Commands - full command reference
- Architecture - how results are collected internally