-
Notifications
You must be signed in to change notification settings - Fork 280
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
Errors do not affect CLI exit code #818
Comments
Hello @clementgarnier, Thank you for the issue! As @honzajavorek said in #765 (comment), this is a serious issue and should be fixed ASAP - I'll start to dig into it right away. |
Thank you so much for the timely fix! When should we expect this to be released? |
It gets automatically released once this build passes. There are some flaky tests and we did not notice it failed and the release did not happen. |
@clementgarnier Here it is - v4.1.2 |
Describe your problem
Dredd CLI returns 0 when tests are errored, as long as none are failing, e.g.
What command line options do you use?
What is in your
dredd.yml
?What's your
dredd --version
output?Does
dredd --level=debug
uncover something?Can you send us failing test in a Pull Request?
To reproduce, run dredd with above configuration; note
/foo/bar/baz
is voluntarily inexistent, which will fail to start the server and mark all tests as error. Asample_blueprint.md
can be created with any valid blueprint (I used the first example here) but not required to reproduce, as a missing blueprint file will also trigger the error state.The text was updated successfully, but these errors were encountered: