-
Notifications
You must be signed in to change notification settings - Fork 4
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
make assertion errors not fatal errors #4
Comments
I'd say that's expected behaviour of any testing framework, to bail on error. |
Bail to the point of where test setup is left dangling, I'd strongly disagree with. The things I usually work with run all tests and report the errors at the end with an option to do a full halt of you want to inspect things for debugging. I'd expect this to work the same way. We certainly can't have plugin authors chase node and couch pids to kill them manually while trying to write tests.
|
Yeah I get that and I agree, but what I'm saying is - my understanding is that's down to the test framework to provide a hook or something, right? I believe we have a |
Yeah, I am not saying we should invent anything, I'm just saying the current situation is broken and I don't know how any of this works, so I am filing a bug for the authors :)
|
with the setup up tear down of a full hoodie instance for hook and browser tests, it’s not very fun to have things bail on assertion errors, as the whole tear down phase is skipped and one has to kill hoodie manually afterwards. I couldn’t easily find out where this is configured.
The text was updated successfully, but these errors were encountered: