pub fn save_result(result: &TestResult) -> Result<(), Error>Expand description
Save a test result to the history file.
ยงErrors
Returns Error::IoError if reading or writing the history file fails.
Returns Error::ParseJson if the history file contains invalid JSON.