Replies: 1 comment
-
I believe we took this behavior from mocha. Seems the decision for that was equally not explained well. mochajs/mocha#3559 And yah, the 'correct' error code doesn't print for failed tests beyond 255, it just prints exitCode 1. 255 failures257 failures |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://docs.cypress.io/guides/guides/command-line#Exit-code
Anyone know about the reasons behind this design decision?
CI is having a hard time determining if the test runner is having a problem or there is a case failing?
I would suggest Cypress command line to respect POSIX-compatible exit code convention, and deal with assertion failed case count separately for 2 reasons:
Beta Was this translation helpful? Give feedback.
All reactions