-
Notifications
You must be signed in to change notification settings - Fork 328
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
Exit code 0 on failed tests #690
Comments
It can be true. I noticed this yesterday when upgraded Dusk to latest. |
There was a return statement missing in the last update when adding the SIGINT. Maybe testing the error code could be added as a test? |
PR #691 is merged @driesvints could you create a new version and push it to packagist? |
@petermein new version will be released tomorrow on release day. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
When looking at our CircleCi tests and local tests, we noticed even when test failed the exit code returned from the
php artisan dusk
command is still 0. This means even if you publish test results the test will be marked as successfullSteps To Reproduce:
php artisan dusk && echo "$?" || echo "$?"
(with atleast 1 failing test)This will display an exit code of 0 in our tests.
The text was updated successfully, but these errors were encountered: