-
Notifications
You must be signed in to change notification settings - Fork 76
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
test: migrated from Quick & Nimble to use XCTest to remove dependency on third party packages #213
Conversation
β¦ on third party packages
XCTAssertThrowsError(try sut.string(forKey: "SHOULDNOTEXIST")) | ||
} | ||
|
||
func testRetrievingNonExistingDataItem() { | ||
XCTAssertThrowsError(try sut.data(forKey: "SHOULDNOTEXIST")) |
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.
Is there any way to assert that the error thrown is SimpleKeychainError.itemNotFound
?
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.
Yes, updated it to verify if the error thrown is SimpleKeychainError.itemNotFound
, please take a look again
π Changes
Quick
&Nimble
for unit tests in this package to use XCTest to remove dependency on third party packagesβ Checklist
π― Testing