Skip to main content

save_result

Function save_result 

Source
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.