Skip to main content

Module assertions

Module assertions 

Source
Expand description

Assertion rendering for Rust e2e tests.

Functionsยง

render_assertion
Render a single assertion into the test function body.
render_assertion_with_streaming
Same as render_assertion, but with an is_streaming flag so the streaming-virtual field arm can fire when result_var is the raw call result rather than the collected chunks variable. Callers that already drained the stream into a chunks: Vec<_> local should pass is_streaming = true.