Treat sbt.testing.TestWildcardSelectors correctly.#1327
Treat sbt.testing.TestWildcardSelectors correctly.#1327etorreborre merged 1 commit intoetorreborre:mainfrom dubinsky:treat-sbt.testing.TestWildcardSelector-correctly
sbt.testing.TestWildcardSelectors correctly.#1327Conversation
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.TestWildcardSelectors, not justsbt.testing.TestSelectors.Summary by CodeRabbit
New Features
Bug Fixes
Tests