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

Stop adding $ as "terminators" when filtering tests for JUnit 5 #7080

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joca-bt
Copy link
Contributor

@joca-bt joca-bt commented Nov 29, 2024

While $ may be useful in other JUnit versions to determine where a "class boundary" ends, as the plugin is using , for enumeration in that case (i.e. mypackage.myClass1#myMethod1,myMethod2$|...), it is not needed when the enumeration is between () as in JUnit5 (i.e. mypackage.myClass1#(myMethod1|myMethod2)|...).

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: #7061

Description of this change

While `$` may be useful in other JUnit versions to determine where a "class boundary" ends, as the
plugin is using `,` for enumeration in that case (i.e. `mypackage.myClass1#myMethod1,myMethod2$|...`),
it is not needed when the enumeration is between `()` as in JUnit5 (i.e. `mypackage.myClass1#(myMethod1|myMethod2)|...`).
@github-actions github-actions bot added product: IntelliJ IntelliJ plugin awaiting-review Awaiting review from Bazel team on PRs labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review Awaiting review from Bazel team on PRs product: IntelliJ IntelliJ plugin
Projects
Status: Untriaged
Development

Successfully merging this pull request may close these issues.

2 participants