Skip to main content

parse_junit_xml

Function parse_junit_xml 

Source
pub fn parse_junit_xml(xml: &str) -> Result<Vec<HarnessResult>, String>
Expand description

Parse JUnit XML content into HarnessResult entries.

Each <testsuite> becomes one HarnessResult. Supports both wrapped (<testsuites><testsuite .../>...</testsuites>) and unwrapped (<testsuite .../>) formats.