Closed Skn0tt closed 2 weeks ago
latest
Run with --only-changed if there are no tests.
--only-changed
No tests found is printed, and it exits with exit code 0.
No tests found
No tests found is printed, and it exits with exit code 1.
If folks want to use --only-changed in automation, then exit code 0 is a sane default.
irrelevant
It works the same without --only-changed flag and it seems to be intended. To exit with success, use --pass-with-no-tests flag.
--pass-with-no-tests
Version
latest
Steps to reproduce
Run with
--only-changed
if there are no tests.Expected behavior
No tests found
is printed, and it exits with exit code 0.Actual behavior
No tests found
is printed, and it exits with exit code 1.Additional context
If folks want to use
--only-changed
in automation, then exit code 0 is a sane default.Environment