-
Notifications
You must be signed in to change notification settings - Fork 63
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
Exception in fixtures produces cryptic runs #134
Comments
Example repo: run |
I guess to resolve this, there would need to be some intermediate exception handling which says "here's the error which happened in the tests for this namespace". For those more familiar with the code: Is there a specific part of |
That is delegated to the underlying library: https://github.com/bensu/doo/blob/master/library/src/doo/runner.clj The only decision that doo makes is to either run all ns or the selected ns. I think your latest PR might show a better error message for this case. |
Hmm, it seems like I guess it would fall on |
When a fixture throws, it looks like doo is crashed or miscompiling.
I'd expect the library to catch the exception and explicitly describe "fixture threw, skipped this module". This would be shown as an error in the final reporting instead of looking like doo stopped.
This makes the test fragile, a small change deep in a fixture setup/teardown fixture breaks the tests without much feedback.
The text was updated successfully, but these errors were encountered: