Skip to main content

Module junit

Module junit 

Source
Expand description

JUnit XML formatter for audit reports.

One <testsuite> per gate; one <testcase> per finding. A gate with zero findings emits a single passing <testcase> so the suite isn’t flagged as empty by CI parsers (GitLab, Jenkins).

No external XML crate is pulled in — the document shape is too tightly constrained for tag-balancing bugs to slip in, and the existing quick-xml dep in the workspace is feature-gated to the optional minify build.

Functions§

format
Renders report as JUnit XML.