-
Notifications
You must be signed in to change notification settings - Fork 608
Disable filename counter #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You could add Example: assertSnapshot(matching: view, as: .image, named: "my_view") I hope it helped and we could close the issue. |
With the following example:
Using "my_view" in a test would result in the following file name: I usually try to have one test correspond with one snapshot, so the simplest naming scheme for me would be to have the snapshot images match the test names, without adding any suffixes. |
Hi @dafurman! Thanks for the PR. I'm going to close this issue in favor of tracking the problem there, where we can discuss things further. |
@stephencelis The fork containing this PR has been deleted. Can we reopen this issue? |
Yup, +1 to the issue being reopened or us following up on the PR. I mistakenly closed that PR while cleaning out some of my Github repo forks. I forgot about that PR. I recreated it here: #747 |
Is there a way to disable the counter at the end of the filename? We use the iOS version in the end of the name and to have
.1
after each name is confusing. Any help would be much appreciated :)The text was updated successfully, but these errors were encountered: