-
Notifications
You must be signed in to change notification settings - Fork 47
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 signal #315
Comments
If you mean signals like SIGHUP, SIGINT etc. no there isn't. The only thing that happens after a test has exited is to check for expected calls to match. If a test aborts using a signal you will get a test exception and a reporter call indicating this. I think it would be possible to add a new type of assertions that would make that possible, but currently no. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to test that a test terminates with a particular signal ? I want to test my functions abort when expected.
The text was updated successfully, but these errors were encountered: