Bruno CLI provides built-in support for generating reports in three formats: JSON, JUnit, and HTML. These reports help with analyzing test results and integrating with various CI/CD tools. You can generate any combination of these reports and even run them simultaneously.Documentation Index
Fetch the complete documentation index at: https://bruno-a6972042-mintlify-testing-jsonbody-jsonschema-1777266.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
JSON Report
To generate a report in JSON format, use the--reporter-json option:
copy
JUnit Report
To generate a report in JUnit format, use the--reporter-junit option:
copy
HTML Report
To generate a human-readable HTML report, use the--reporter-html option:
copy
Running Multiple Reporters Simultaneously
You can generate multiple reports at once by specifying more than one reporter option. For example, to generate JSON, JUnit, and HTML reports simultaneously, run:copy
results.json, results.xml, and results.html, allowing you to analyze the results in different formats as needed.
Secret Masking in Reports: When running CLI and generating reports, sensitive data like secrets can be automatically masked to prevent exposure. Learn more about Secret Masking.
Skipping Specific Headers in the Report
If you want to exclude certain headers from the report, use the--reporter-skip-headers option. You can list multiple headers to skip, separated by spaces.
Skip All Headers in the Report
To exclude all headers from the report, use the--reporter-skip-all-headers option. This will remove all headers from the output report, ensuring a cleaner result.
copy