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
Introduce a severity level when recording issues (#1070)
Introduce a severity level when recording issues
### Motivation:
In order to create issues that don't fail a test this introduces a
parameter to specify the severity of the issue. This is in support of
work added here for an issue severity:
#931
This is experimental.
Example usage:
`Issue.record("My comment", severity: .warning)`
### Modifications:
I modified the `Issue.record` method signature to take in a severity
level so that users can create issues that are not failing.
### 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.
- [x] Add tests
0 commit comments