Visitar URL original
Ruby: Refactor test directories by hmac · Pull Request #12056 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20260604161057/https://github.com/github/codeql/pull/12056
Skip to content

Ruby: Refactor test directories#12056

Merged
hmac merged 8 commits into
github:mainfrom
hmac:test-refactor
Feb 15, 2023
Merged

Ruby: Refactor test directories#12056
hmac merged 8 commits into
github:mainfrom
hmac:test-refactor

Conversation

@hmac
Copy link
Copy Markdown
Contributor

@hmac hmac commented Feb 1, 2023 •

This isolates each set of tests in their own directories, so changes to other tests don't interfere with them.

Comment thread ruby/ql/test/library-tests/frameworks/action_view/ActionView.ql Fixed
hmac added 2 commits February 4, 2023 14:19
This ensures that changes to unrelated test files don't affect these
tests.
@hmac hmac marked this pull request as ready for review February 4, 2023 01:19
@hmac hmac requested a review from a team as a code owner February 4, 2023 01:19
@@ -1,24 +0,0 @@
# Uses of eval and send
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm good spot, I'll check the StandardLibrary tests and see what happened there.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've re-added these test cases (the associated predicates now live in Kernel.ql)

@hmac hmac requested a review from aibaars February 6, 2023 22:37
@aibaars
Copy link
Copy Markdown
Contributor

aibaars commented Feb 13, 2023

@hmac I was a bit confused by 02b09ca , but it looks like the files in that commit were actually moved, and not just deleted.

@hmac hmac merged commit fb14920 into github:main Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants