pub fn format_test_result(result: &TestResult) -> String
Format a test result as human-readable text.