Macro requestty_ui::assert_backend_snapshot
source · [−]macro_rules! assert_backend_snapshot {
($value:expr, @$snapshot:literal) => { ... };
($name:expr, $value:expr) => { ... };
($value:expr) => { ... };
}
Available on crate features
crossterm
or termion
only.Expand description
A testing utility to assert visual equality with TestBackend
.
It is a simple wrapper around insta::assert_display_snapshot
which puts the snapshots in
$CARGO_MANIFEST_DIR/{crossterm/termion}-snapshots
.