-
Notifications
You must be signed in to change notification settings - Fork 3
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
When a catastrophic error happens the output of tap-arc is success #26
Comments
Good catch, thanks for reporting! I did some research and interestingly there isn't a great way to get the exit code (or any sort of state) from the previous command in a pipeline. Seems like the safe thing to do is assume that if there are zero test results, something is busted and we should I'll release 0.3.4 shortly with the fix. |
Been running into a few situations with the latest tap-arc where tape exits with 1 but tap-arc exits with 0.
|
I guess the difference is that in my case a few tests actually pass at first and so the 0-test check doesn't get triggered. |
Apologies, I've been neglecting my GH notifications. |
Describe the issue
When a catastrophic error happens the output of tap-arc is success. It should be an error, just as if a test failed.
Steps to reproduce
Steps to reproduce the behavior:
const { hello } = require('./this-is-a-fake-path')
tap-arc
and check how even though you get errors, the output still returns success, which would make a pipeline step assume nothing went wrong with the tests.Expected behavior
When a catastrophic error happens, the output of
tap-arc
should indicate failure (return 1
).Screenshots
(Green arrow in Oh My Zsh indicates successful execution of last command, while red indicates failure.)
Desktop
Please complete the following information (if appropriate):
0.3.3
The text was updated successfully, but these errors were encountered: