Skip to content
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

Open
menzer opened this issue Jul 31, 2014 · 5 comments
Open

specs failing to run exits task with exit code 0 #48

menzer opened this issue Jul 31, 2014 · 5 comments

Comments

@menzer
Copy link

menzer commented Jul 31, 2014

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.

@meertens
Copy link

meertens commented Aug 4, 2014

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:
mhevery/jasmine-node#333

@menzer
Copy link
Author

menzer commented Aug 4, 2014

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.

@meertens
Copy link

meertens commented Aug 4, 2014

Ah, true. Sorry for misreading that. The issue you bring up is a problem too indeed.

@tjlahr
Copy link

tjlahr commented Oct 28, 2014

+1

Has anybody picked this issue up?

@theothermattm
Copy link

+1 this just bit me hard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants