-
Notifications
You must be signed in to change notification settings - Fork 74
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
fix: exit code is 1 when expectations are not fulfilled #194
Conversation
75ea5eb
to
9e747ed
Compare
@denar90 My PR is working well as you can see. The Travis job is failing due to the set expectations ^^ Can I raise them a bit? |
Hi @GuillaumeAmat. The reason we don't fail when expectations haven't met because users might run several pages in one process. If the first page fails, the process will exit and other pages will be skipped. |
Oh, I understand. But as #188 helps to fill the gap, it not makes it easier to achieve :/ In my use case, all my pages are tested concurrently in parallel CI jobs. It is more efficient IMHO. But anyway, an easy way to fail the CI would be much appreciated. What about a new option? Eg: |
Oh, I see. |
Done :) |
@denar90 Do you know when you (or someone else) will be able to merge it (if it is ok) and release it? |
I'll look at it later today)
…On Fri, Oct 12, 2018, 9:00 PM Guillaume AMAT ***@***.***> wrote:
@denar90 <https://github.com/denar90> Do you know when you (or someone
else) will be able to merge it (if it is ok) and release it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#194 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF8V3B8SOqMSk02wwd8INz1W15Cb8ZAKks5ukNjGgaJpZM4XVNw3>
.
|
Published 💥 |
Thanks! 🤗 |
exactly what I needed, thanks for landing this. |
You're welcome @sejoker ;) |
Fix #193
A bit of refact of the
start
method, in order to return 1 as the exit code when expectations have errors.