-
-
Notifications
You must be signed in to change notification settings - Fork 216
Treat sbt.testing.TestWildcardSelector
s correctly.
#1327
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
Treat sbt.testing.TestWildcardSelector
s correctly.
#1327
Conversation
When selecting examples to execute, take into account `sbt.testing.TestWildcardSelector`s, not just `sbt.testing.TestSelector`s.
WalkthroughThe changes extend support for Changes
Sequence Diagram(s)sequenceDiagram
participant SBT as SBT Runner
participant Runner as BaseSbtRunner
participant Env as Environment
participant Task as Test Task
SBT->>Runner: Provide selectors (TestSelector/TestWildcardSelector)
Runner->>Runner: Check if selection regex is defined or selectors are valid
alt All selectors are TestSelector/TestWildcardSelector
Runner->>Runner: Build selection regex (quote names, add .* for wildcards)
Runner->>Env: Update selection arguments
else
Runner->>Env: Leave environment unchanged
end
Runner->>Task: Execute with updated environment
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (7)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Thank you, @etorreborre! |
Thanks for the fix @dubinsky, I published it as |
Thank you!! |
When selecting examples to execute, take into account
sbt.testing.TestWildcardSelector
s, not justsbt.testing.TestSelector
s.Summary by CodeRabbit
New Features
Bug Fixes
Tests