Replies: 2 comments 6 replies
-
If you're using Code Scanning, you can use an advanced setup and replace the Or, if you're using the CLI locally, you can pass the |
Beta Was this translation helpful? Give feedback.
5 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as I know, CodeQL will instrument the compiler to extract AST and other information. But when I query information in testing code, I can't get related information.
I suspect that CodeQL ignores the testing files becuase when
go build
the project, it will simply ignore testing files. How can I use CodeQL to extract information from testing files since they are just special go files?Renaming
*_test.go
to other files like*_tes.go
does work but I think it's not elegant and it destroys the project structure and semantics.Beta Was this translation helpful? Give feedback.
All reactions