Skip to main content

render_junit_for_receipt

Function render_junit_for_receipt 

Source
pub fn render_junit_for_receipt(receipt: &CheckReceipt) -> String
Expand description

Renders a CheckReceipt as a JUnit XML report.

The structure is:

  • <testsuites> - root element, one per receipt
  • <testsuite> - one per unique rule_id
  • <testcase> - one per finding
  • <failure> - present for error/warn severity findings