-
-
Notifications
You must be signed in to change notification settings - Fork 75
Customize snapshot file name if test run using data provider? #210
-
Is there a way to customize the name of the snapshot based on a value of some kind? For example I have a test that uses a data provider and generates a bunch of snapshots. Right now they are named after the test with an index number. It would be nice if I could somehow name the file with a value from the data provider to indicate which test file it is. I see you can override the naming function but I don't think that would still be able to do this scenario. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions
Pretty sure if you name your datasets, this is already taking into account; did you try that?
Replies: 1 comment 1 reply
-
Pretty sure if you name your datasets, this is already taking into account; did you try that?
Beta Was this translation helpful? Give feedback.
All reactions
-
Didn't even think to try that 🤦🏻 That completely worked, thanks so much!
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 1