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

Return nonzero exit status code in case of a test failure #81

Closed
munkius opened this issue Jul 19, 2011 · 0 comments
Closed

Return nonzero exit status code in case of a test failure #81

munkius opened this issue Jul 19, 2011 · 0 comments

Comments

@munkius
Copy link
Contributor

munkius commented Jul 19, 2011

Nodeunit always returns an exit status 0, disregarding if there are failing tests. This troubles my continuous integration system (Jenkins) which performs a build and runs my tests. Jenkins verifies if the commands it executes in the build return a nonzero status code, which means the execution encountered problems. Now I need to grep the output to check for failures and mark my build as failed.

I'm working on a patch for this (https://github.com/munkius/nodeunit)

@munkius munkius closed this as completed Jul 19, 2011
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

1 participant