Skip to content
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

Have all tests use t *testing.T instead of tt *testing.T #634

Open
andresuribe87 opened this issue Aug 3, 2023 · 0 comments
Open

Have all tests use t *testing.T instead of tt *testing.T #634

andresuribe87 opened this issue Aug 3, 2023 · 0 comments
Labels
testing related to new or existing tests

Comments

@andresuribe87
Copy link
Contributor

The benefits include:

  • Preventing the subtest from accessing the upper level by hiding it.
  • More maintainable, as it's standard go practice.
  • Easier to copy/paste and move around tests.
@decentralgabe decentralgabe added the testing related to new or existing tests label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing related to new or existing tests
Projects
No open projects
Status: 🆕 New
Development

No branches or pull requests

2 participants