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

linter for test case name pattern #186

Open
nikolaydubina opened this issue Jul 22, 2023 · 0 comments
Open

linter for test case name pattern #186

nikolaydubina opened this issue Jul 22, 2023 · 0 comments
Labels

Comments

@nikolaydubina
Copy link
Owner

  1. extract what is called in test functions in t.Run
  2. check if this is symbol and not function call
  3. check if it is defined inside some type inside root of test func TestXYZ
  4. find test case struct declarations with that field
  5. apply pattern to that field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant