swift-testing icon indicating copy to clipboard operation
swift-testing copied to clipboard

[SWT-NNNN] Range-based confirmations

Open grynspan opened this issue 1 year ago • 1 comments

Swift Testing includes an interface for checking that some asynchronous event occurs a given number of times (typically exactly once or never at all.) This proposal enhances that interface to allow arbitrary ranges of event counts so that a test can be written against code that may not always fire said event the exact same number of times.

Read the full proposal here.

Checklist:

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

grynspan avatar Sep 13 '24 20:09 grynspan

@swift-ci test

grynspan avatar Sep 13 '24 20:09 grynspan

@swift-ci test

grynspan avatar Oct 21 '24 15:10 grynspan

@swift-ci test

grynspan avatar Oct 23 '24 19:10 grynspan

@swift-ci test

grynspan avatar Oct 23 '24 19:10 grynspan

@swift-ci test

grynspan avatar Oct 24 '24 21:10 grynspan

Stuart has approved this PR and will be updating the forum thread shortly. Merging.

grynspan avatar Oct 25 '24 18:10 grynspan

@swift-ci test

grynspan avatar Oct 25 '24 19:10 grynspan

@swift-ci test

grynspan avatar Oct 25 '24 19:10 grynspan

@swift-ci test Windows

grynspan avatar Oct 25 '24 19:10 grynspan

@swift-ci test

grynspan avatar Oct 25 '24 19:10 grynspan