Skip to main content

assert_snapshot

Macro assert_snapshot 

Source
macro_rules! assert_snapshot {
    ($app:expr) => { ... };
    ($app:expr, $name:expr) => { ... };
}
Expand description

Assert that the rendered output matches a snapshot.

On first run, creates the snapshot. On subsequent runs, compares.