/dbt-junitxml

Convert your dbt test results into jUnit XML.

Primary LanguagePythonMIT LicenseMIT

dbt-junitxml

Convert your dbt test results into jUnit XML format so that CI/CD platforms (such as Jenkins, CircleCI, etc.) can better report on tests in their UI.

Installation

pip install dbt-junitxml

Usage

When you run your dbt test suite, the output is saved under target/run_results.json. Run the following command to parse your run results and output a jUnit XML formatted report named report.xml.

dbt-junitxml parse target/run_results.json report.xml

Limitations

Currently, only v4 of the Run Results specifications is supported.