Skip to main content

format_test_id

Function format_test_id 

Source
pub fn format_test_id(
    format: &str,
    name: &str,
    classname: Option<&str>,
) -> String
Expand description

Formats a test ID from JUnit XML attributes using the provided format string.

ยงArguments

  • format - Format string with placeholders like {name} and {classname}
  • name - The testcase name attribute from JUnit XML
  • classname - The testcase classname attribute from JUnit XML (optional)