-
Notifications
You must be signed in to change notification settings - Fork 134
[ST-0019] Augment JSON ABI #1429
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
Draft
bkhouri
wants to merge
1
commit into
swiftlang:main
Choose a base branch
from
bkhouri:t/main/augment_event_stream_json
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eb44837 to
46c32f1
Compare
grynspan
reviewed
Dec 2, 2025
grynspan
reviewed
Dec 2, 2025
grynspan
reviewed
Dec 2, 2025
grynspan
reviewed
Dec 2, 2025
grynspan
reviewed
Dec 2, 2025
grynspan
reviewed
Dec 2, 2025
grynspan
reviewed
Dec 2, 2025
95d2763 to
b3bda79
Compare
bkhouri
commented
Dec 11, 2025
b3bda79 to
15034be
Compare
grynspan
reviewed
Dec 31, 2025
grynspan
reviewed
Dec 31, 2025
grynspan
reviewed
Dec 31, 2025
grynspan
reviewed
Dec 31, 2025
grynspan
reviewed
Dec 31, 2025
grynspan
reviewed
Dec 31, 2025
15034be to
e7328c5
Compare
e7328c5 to
3a04ec0
Compare
3a04ec0 to
91a200a
Compare
Enhance Swift Testing's JSON event ABI by exposing test metadata that is
currently unavailable to external tools. By including test tags, bug
associations, and time limits in the JSON output, this allows
third-party tools to provide richer insights and more sophisticated test
management capabilities.
Motivation:
Swift Testing's JSON event stream provides data for external tooling,
enabling developers to build test analysis and reporting tools. However,
the current implementation lacks access to some test metadata that
developers may want to use to organize and manage their test suites.
Currently missing from the JSON output are:
- **Test tags**: Used for categorization
- **Bug associations**: Tracks bugs associated with tests
- **Time limits**: Useful for performance monitoring and timeout
management
This missing metadata limits the capabilities of external tools. For
example:
- IDE extensions cannot provide tag-based test filtering
- CI/CD systems cannot generate reports grouped by test categories
- Performance monitoring tools cannot track tests with specific time
constraints
- Bug tracking integrations cannot correlate test failures with known
issues
91a200a to
32e5ba8
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
public-api
Affects public API
tools integration
🛠️ Integration of swift-testing into tools/IDEs
traits
Issues and PRs related to the trait subsystem or built-in traits
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enhance Swift Testing's JSON event ABI by exposing test metadata that is currently unavailable to external tools. By including test tags, bug associations, and time limits in the JSON output, this allows third-party tools to provide richer insights and more sophisticated test management capabilities.
Motivation:
Swift Testing's JSON event stream provides data for external tooling, enabling developers to build test analysis and reporting tools. However, the current implementation lacks access to some test metadata that developers may want to use to organize and manage their test suites.
Currently missing from the JSON output are:
This missing metadata limits the capabilities of external tools. For example:
Modifications:
Modify the event JSON to include the
tags,bugsandtimeLimittraits if version 6.4 and above.Checklist: