-
Notifications
You must be signed in to change notification settings - Fork 520
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
Remove test_ prefix from test functions #1720
Comments
And some tests don't have this prefix right now, so it isn't even consistent at the moment. |
senekor
added a commit
that referenced
this issue
Sep 11, 2023
senekor
added a commit
that referenced
this issue
Sep 11, 2023
senekor
added a commit
that referenced
this issue
Sep 11, 2023
senekor
added a commit
that referenced
this issue
Sep 12, 2023
senekor
added a commit
that referenced
this issue
Sep 12, 2023
senekor
added a commit
that referenced
this issue
Sep 12, 2023
senekor
added a commit
that referenced
this issue
Sep 13, 2023
senekor
added a commit
that referenced
this issue
Sep 14, 2023
senekor
added a commit
that referenced
this issue
Sep 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As far as I can tell, this prefix is not idiomatic.
All test functions are annotated with
#[test]
, so it's not necessary for identification.After a quick search, I couldn't find any considered-to-be-idiomatic sources which actually do this.
For example, the official book doesn't in its chapter on testing.
The text was updated successfully, but these errors were encountered: