-
Notifications
You must be signed in to change notification settings - Fork 99
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
specs failing to run exits task with exit code 0 #48
Comments
Seems to be a problem with a breaking update of the reporters, passed on from jasmine-node. The issue is discussed in the following place: |
Yes, that is a separate issue, but the grunt task itself should not report success when it fails to run. That means that when the reporters update broke jasmine-node and tests stopped running and started crashing, the task still exited with a success code and CI servers went on their merry way, oblivious that tests were no longer running. That's not desired behavior. |
Ah, true. Sorry for misreading that. The issue you bring up is a problem too indeed. |
+1 Has anybody picked this issue up? |
+1 this just bit me hard |
The issue introduced by the jasmine reporters upgrade (#46) is compounded by the fact that that the failure of jasmine.executeSpecsInFolder is caught and simply logged, causing the task to exit with 0 when jasmine fails to run.
Specs failing to run due to the runner crashing should cause a build to fail.
The text was updated successfully, but these errors were encountered: