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

Java/C#: Move test utilities to the query pack. #17968

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Nov 12, 2024

In this PR the test utilities are moved from the test QL packs into the codeql/<language>-queries QL packs.
We are in the process of moving the experimental queries from the Code QL repo to the CodeQL-Community-Packs repo, and the tests for the experimental queries are relying on the test utilities, which currently aren't being published.
As a temporary workaround a copy of the test utilities are added to the CodeQL-Community-Pack, but we should publish the test utilities to enable sharing.

If we agree to move the test utilities, we should probably do so for all languages for consistency reasons.

@github-actions github-actions bot added the C# label Nov 13, 2024
@michaelnebel michaelnebel changed the title Java: Move test utilities to the query pack. Java/C#: Move test utilities to the query pack. Nov 13, 2024
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Nov 13, 2024
@michaelnebel michaelnebel marked this pull request as ready for review November 13, 2024 10:11
@michaelnebel michaelnebel requested review from a team as code owners November 13, 2024 10:11
@michaelnebel
Copy link
Contributor Author

DCA looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# Java Kotlin no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant