You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few refinements to `IssueHandlingTrait`, which is still SPI.
### Motivation:
Polish this SPI in anticipation of posting a pitch to promote it to
public API soon.
### Modifications:
- Expose a `handleIssue(_:)` instance method to allow more easily
composing multiple issue handling traits and calling their underlying
handler closure. This is conceptually similar to what was done for
[ST-0010: Public API to evaluate
ConditionTrait](https://github.com/swiftlang/swift-evolution/blob/main/proposals/testing/0010-evaluate-condition.md).
- Refine the names of private decls.
- Add `- Returns:` in DocC for places it's missing.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.
0 commit comments