Skip to content

Don't emit any console output or events if --filter/--skip is passed and there are zero matching tests.#1741

Merged
grynspan merged 3 commits into
mainfrom
jgrynspan/178527194-silence-swift-testing
Jun 4, 2026
Merged

Don't emit any console output or events if --filter/--skip is passed and there are zero matching tests.#1741
grynspan merged 3 commits into
mainfrom
jgrynspan/178527194-silence-swift-testing

Conversation

@grynspan
Copy link
Copy Markdown
Contributor

@grynspan grynspan commented Jun 3, 2026

When SwiftPM triggers a test run with a filter, and no tests are run as a result of that filter, SwiftPM should be responsible for the ensuing console output.

Resolves rdar://178527194.
Resolves #1739.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

…sed and there are zero matching tests.

When SwiftPM triggers a test run with a filter, and no tests are run as a result
of that filter, SwiftPM should be responsible for the ensuing console output.

Resolves rdar://178527194.
Resolves #1739.
@grynspan grynspan added this to the Swift 6.4.0 (main) milestone Jun 3, 2026
@grynspan grynspan self-assigned this Jun 3, 2026
@grynspan grynspan requested a review from stmontgomery as a code owner June 3, 2026 20:30
@grynspan grynspan added the bug 🪲 Something isn't working label Jun 3, 2026
@grynspan grynspan added tools integration 🛠️ Integration of swift-testing into tools/IDEs command-line experience ⌨️ enhancements to the command line interface labels Jun 3, 2026
@grynspan grynspan merged commit 81d0e33 into main Jun 4, 2026
35 checks passed
@grynspan grynspan deleted the jgrynspan/178527194-silence-swift-testing branch June 4, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working command-line experience ⌨️ enhancements to the command line interface tools integration 🛠️ Integration of swift-testing into tools/IDEs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When --filter is passed from SwiftPM, don't emit console output if there were zero matches

2 participants