Skip to main content

render_html

Function render_html 

Source
pub fn render_html(events: &[Event], artifacts_href: &str) -> String
Expand description

Render events as a standalone HTML document. artifacts_href is the link prefix for each scenario’s .hurl artifact (e.g. "artifacts", resolved relative to wherever the caller writes the file); the artifact filename is derived with the same slug the emitter uses, so the links match on disk.