Skip to content

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.

@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
@younata younata changed the title Swift Testing Proposal: Polling Confirmations [ST-NNNN] Polling Confirmations Oct 22, 2025
@younata younata force-pushed the younata/testing-polling-expectations branch from c602e5f to 4fafc61 Compare October 23, 2025 04:31
@stmontgomery
Copy link
Contributor

Looks like there's some merge or rebase issue, files besides the new proposal are being shown as modified

younata and others added 19 commits November 4, 2025 11:31
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
@younata younata force-pushed the younata/testing-polling-expectations branch from 93f586d to 3fcb851 Compare November 4, 2025 19:32
@younata
Copy link
Contributor Author

younata commented Nov 4, 2025

Looks like there's some merge or rebase issue, files besides the new proposal are being shown as modified

Whoops. That's corrected now. I wonder how I messed up that rebase.

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.

4 participants