We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would be great to be able to expect Swift native ErrorType throwing.
The text was updated successfully, but these errors were encountered:
@yariksmirnov Great idea! Could you give an example of what you'd like to see?
Sorry, something went wrong.
I've been thinking for sometime. I actually don't know how to implement such feature. I believe it should look something like this:
In case we test function which accept args.
expect { testingFuncWhichThrows(arg1, arg2) }.toThrow()
And more convenient variant for case when func takes no args.
expect(testingFuncWhichThrows).toThrow()
Closed, this has been merged into swift-2.0 / 2.0.0-rc.2.
swift-2.0
2.0.0-rc.2
Merge pull request Quick#136 from jbosse/master
2bd53e4
Codesign for iOS
No branches or pull requests
Would be great to be able to expect Swift native ErrorType throwing.
The text was updated successfully, but these errors were encountered: