Skip to main content

write_results

Function write_results 

Source
pub fn write_results()
Expand description

Write all collected results to JSON.

The output path is determined by the EXECUTABLE_STORIES_OUTPUT environment variable, defaulting to .executable-stories/raw-run.json.

Call this at the end of your test suite.

ยงPanics

Panics if writing the JSON file fails (e.g. permission or I/O error).