-
Notifications
You must be signed in to change notification settings - Fork 130
Add experimental SPI to cancel a running test. #1284
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d467a80
Add experimental SPI to cancel a running test.
grynspan 4dce6f8
Availability
grynspan 367c707
Lower availability with a fallback implementation
grynspan 576a478
Wrong logic to get old task (facepalm)
grynspan be6d9bd
Record issues that occur during testing
grynspan 5cc0093
Catch CancellationError from within a test and treat it as cancelling…
grynspan 2390885
Interop with task cancellation and CancellationError
grynspan d64d019
Incorporate my own feedback
grynspan 5e6880a
Add more tests
grynspan 344da94
More tests, refactor cancel() a bit
grynspan ef18699
Restore @spi attribute
grynspan f0b6e9e
Add new event kinds to Snapshot for Xcode 16 compatibility
grynspan 87fcdd5
Make Xcode 16 report skipped tests where possible
grynspan b32e502
Lazily gather backtraces where possible
grynspan f5ad85a
Merge branch 'main' into jgrynspan/test-cancellation
grynspan 7371b60
Deduplicate attachment JSON source location field
grynspan 6650c9c
Fix duplicated comment
grynspan ef609ab
Fix typo
grynspan 2da8459
Plumb through exit test support properly
grynspan 69feacc
Documentation tweaks and testing Task.cancel() in an exit test
grynspan c2d0090
Make sure CancellationError is only treated as a skip during trait ev…
grynspan e2f518b
Remove some trys
grynspan 9e7c137
Add comment explaining weird task group
grynspan 3982afb
Add placeholder text to DocC bundle
grynspan 33283d7
Add comments per @stmontgomery's feedback
grynspan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.