Macro requestty_ui::assert_backend_snapshot [−][src]
macro_rules! assert_backend_snapshot {
($value : expr, @ $snapshot : literal) => { ... };
($name : expr, $value : expr) => { ... };
($value : expr) => { ... };
}This is supported 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.