Skip to content

Swift Testing Proposal: Polling Confirmations #2926

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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

younata
Copy link
Contributor

@younata younata commented Jul 29, 2025

New proposal for Swift Testing: Polling Confirmations.

These allow test authors to check that state updates over the course of some amount of time, in a very brute-force kind of way. Very helpful when there aren't other means of checking this available.

younata added 12 commits May 13, 2025 11:52
I'm working on it, but macros are hard.
- Change the default timeout.
- Change how unexpected thrown errors are treated.
- Add future direction to add change monitoring via Observation
- Add alternative considered of Just Use A While Loop
- Add alternative considered for shorter default timeouts
- Include commenting on why not pure counts (i.e. why counts + interval)
- Specify the configuration traits
- Specify callsite configuration of counts + interval
@stmontgomery stmontgomery added the TWG Contains topics under the domain of the Testing Workgroup label Aug 1, 2025
@stmontgomery stmontgomery added the workgroup: needs development This proposal needs to be developed further before it can be reviewed label Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TWG Contains topics under the domain of the Testing Workgroup workgroup: needs development This proposal needs to be developed further before it can be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants