Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

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.
@github-project-automation github-project-automation bot moved this to 🆕 New in SSI Aug 3, 2023
@decentralgabe decentralgabe added the testing related to new or existing tests label Aug 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing related to new or existing tests
Projects
No open projects
Status: 🆕 New
Development

No branches or pull requests

2 participants