-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Cypress should fail if no spec files are found #515
Comments
This situation can also occur if the browser crashes out of memory - I had a OOM crash which didn't crash cypress somehow, causing there to be 0 tests run an a successful build.
|
Closing as resolved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
feature
Current behavior:
Imagine you have no spec files for some reason.
cypress run
will happily report 0 tests and will finish with exit code 0Expected behavior:
Having nothing to run is a sign of misconfiguration / missing files. Cypress should error if there are no spec files.
The text was updated successfully, but these errors were encountered: