[Bug]: --fail-on-incomplete
doesn't cause exit code to be non-zero when snapshots are missing
#1328
Labels
--fail-on-incomplete
doesn't cause exit code to be non-zero when snapshots are missing
#1328
What Happened
--fail-on-incomplete
doesn't cause exit code to be non-zero when snapshots are missing.How to Reproduce
toMatchSnapshot
$ rm -rf tests/.pest/snapshots
Sample Repository
https://github.com/tangrufus/pest-fail-on-incomplete
Pest Version
3.7.1
PHP Version
8.4.1
Operation System
macOS
Notes
In the above example, exit code is
0
even with all of the--fail-on-xxx
flags.$ ./vendor/bin/pest --fail-on-empty-test-suite --fail-on-warning --fail-on-risky --fail-on-deprecation --fail-on-phpunit-deprecation --fail-on-notice --fail-on-skipped --fail-on-incomplete
The text was updated successfully, but these errors were encountered: