Skip to content
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

Want a way to "expect failure" #7

Open
gdamore opened this issue Dec 19, 2016 · 0 comments
Open

Want a way to "expect failure" #7

gdamore opened this issue Dec 19, 2016 · 0 comments

Comments

@gdamore
Copy link
Owner

gdamore commented Dec 19, 2016

This is really more for our own internal testing of C Convey... we'd really like to test assertion failures, and trap those failures without percolating the failed state up. What's called for here is some kind of "ExpectFailure()" or similar. This should actually invert the failure state of the current convey, so that a failure is considered "normal", although the Convey block still needs to cease execution.

This could actually include a code block, which executes in the failed context, allowing for further validation of the nature of the failure. This would greatly facilitate deep validation of our own failure handling modes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant