-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add XCTAssertThrowsErrorAsync #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great; thank you @Supereg!
@PSchmiedmayer could you set the CodeCov token in the repository secrets. I currently do not have permissions for this repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the codecov token; updated the permissions for you and also added the token. Just started a re-run of the GitHub Action.
Add XCTAssertThrowsErrorAsync
♻️ Current situation & Problem
This PR adds a async version of the
XCTAssertThrowsError(_:_:file:line:_:)
method.This method was originally introduced in SpeziBluetooth but was now found to be useful as well in SpeziDevices. Therefore, there is a need to have this available as a reusable implementation.
⚙️ Release Notes
XCTAssertThrowsErrorAsync(_:_:file:line:_:)
method.📚 Documentation
New interfaces were documented. Additionally the documentation catalog was restructured to provide a bit more overview of supported types.
✅ Testing
Minimal testing.
Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: