passkey_fw/test/unit-test/vendor/ceedling/plugins/json_tests_report
hathach 3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
..
lib fix trailing space and new line 2023-03-17 16:12:49 +07:00
README.md fix trailing space and new line 2023-03-17 16:12:49 +07:00

README.md

json_tests_report

Overview

The json_tests_report plugin creates a JSON file of test results, which is handy for Continuous Integration build servers or as input into other reporting tools. The JSON file is output to the appropriate <build_root>/artifacts/ directory (e.g. artifacts/test/ for test tasks, artifacts/gcov/ for gcov, or artifacts/bullseye/ for bullseye runs).

Setup

Enable the plugin in your project.yml by adding json_tests_report to the list of enabled plugins.

:plugins:
  :enabled:
    - json_tests_report

Configuration

Optionally configure the output / artifact filename in your project.yml with the artifact_filename configuration option. The default filename is report.json.

You can also configure the path that this artifact is stored. This can be done by setting path. The default is that it will be placed in a subfolder under the build directory.

:json_tests_report:
  :artifact_filename: report_spectuluarly.json