Skip to main content

render_http_test

Function render_http_test 

Source
pub fn render_http_test<R: TestClientRenderer + ?Sized>(
    out: &mut String,
    renderer: &R,
    fixture: &Fixture,
) -> bool
Expand description

Render a single HTTP test for fixture to out using renderer.

Returns true if a test was emitted (the fixture has an http block), false otherwise — caller is responsible for handling non-HTTP fixtures (WebSocket, AsyncAPI spec validation, etc.) via different drivers.