Skip to content

Fix .testStarted etc. events being suppressed for suites.#1804

Merged
grynspan merged 1 commit into
mainfrom
jgrynspan/fix-event-stream-for-suites
Jul 20, 2026
Merged

Fix .testStarted etc. events being suppressed for suites.#1804
grynspan merged 1 commit into
mainfrom
jgrynspan/fix-event-stream-for-suites

Conversation

@grynspan

Copy link
Copy Markdown
Contributor

This fixes events in the JSON event stream not being emitted for test suites. The logic for detecting non-parameterized test (function)s is incorrect and does not account for them.

Caused by #1793.

Checklist:

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

This fixes events in the JSON event stream not being emitted for test suites.
The logic for detecting non-parameterized test (function)s is incorrect and does
not account for them.

Caused by #1793.
@grynspan grynspan added this to the Swift 6.5.0 (main) milestone Jul 20, 2026
@grynspan grynspan self-assigned this Jul 20, 2026
@grynspan grynspan added bug 🪲 Something isn't working tools integration 🛠️ Integration of swift-testing into tools/IDEs command-line experience ⌨️ enhancements to the command line interface interoperability ↔️ Work related to Swift Testing and XCTest interoperability labels Jul 20, 2026
@grynspan
grynspan merged commit b85e9a1 into main Jul 20, 2026
32 of 35 checks passed
@grynspan
grynspan deleted the jgrynspan/fix-event-stream-for-suites branch July 20, 2026 18:54
grynspan added a commit that referenced this pull request Jul 20, 2026
…1805)

- **Explanation**: Fixes a regression in the JSON event stream that
causes suite events to be suppressed.
- **Scope**: JSON event stream, interop
- **Issues**: N/A
- **Original PRs**: #1804
- **Risk**: Low
- **Testing**: New unit test added.
- **Reviewers**: @stmontgomery @harlanhaskins
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 interoperability ↔️ Work related to Swift Testing and XCTest interoperability tools integration 🛠️ Integration of swift-testing into tools/IDEs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants