-
Notifications
You must be signed in to change notification settings - Fork 98
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
Unit tests produce errors and warnings but do not fail #1509
Comments
Can you provide any examples? |
i.e.
|
Your first example ( |
Shouldn't then the |
That would be one way to approach it, yes. I think a better design would be to throw an exception and let higher-level code decide how to report it. |
Also a good strategy. |
Warnings and errors should produce an exit code 1 to show the tests have failed.
The text was updated successfully, but these errors were encountered: