You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did we ever talk about snapshot tests? I don't recall, and I didn't find an issue in this or the assert_{cmd,cli} repos.
The idea is this: Instead of manually writing predicate::path::eq_file(Path::new("some.file")).utf8().unwrap();, you'd have a predicate::eq_snapshot!() macro that expands to a uniq filename predicate with the ability to create that file with the content it gets on the first test run or when using RECORD_SNAPSHOTS=1 or something similar.
The text was updated successfully, but these errors were encountered:
Did we ever talk about snapshot tests? I don't recall, and I didn't find an issue in this or the assert_{cmd,cli} repos.
The idea is this: Instead of manually writing
predicate::path::eq_file(Path::new("some.file")).utf8().unwrap();
, you'd have apredicate::eq_snapshot!()
macro that expands to a uniq filename predicate with the ability to create that file with the content it gets on the first test run or when usingRECORD_SNAPSHOTS=1
or something similar.The text was updated successfully, but these errors were encountered: