Replies: 2 comments 2 replies
-
I came to this solution. If there's a better way, do let me know
|
Beta Was this translation helpful? Give feedback.
2 replies
-
I'm probably missing something obvious, but why can't we use the standard name parameter here? (IIUC, this question isn't concerned with the for name in ["name", "name2", "name3"] {
assert_snapshot!(name, "Hello World");
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've ran into the situation where all my test cases produce the same snapshot file. As a solution I want each test case to decide the snapshot file name.I'm currently using these settings. Is there a way to append the settings to decide which filename to use?
Beta Was this translation helpful? Give feedback.
All reactions