Skip to main content

extract_assertion_data

Function extract_assertion_data 

Source
fn extract_assertion_data(
    rows: &[SimpleQueryRow],
) -> (Vec<String>, Vec<BTreeMap<String, String>>, Vec<BTreeMap<String, String>>)
Expand description

Extracts structured assertion data from failing query rows.

Column 0 is the status (MISSING or UNEXPECTED); remaining columns are data columns. Returns (column_names, missing_rows, unexpected_rows).