Skip to content

fix: Incorrect exit code with --fail-on-incomplete#1348

Closed
mdeboer wants to merge 1 commit intopestphp:3.xfrom
mdeboer:3.x
Closed

fix: Incorrect exit code with --fail-on-incomplete#1348
mdeboer wants to merge 1 commit intopestphp:3.xfrom
mdeboer:3.x

Conversation

@mdeboer
Copy link

@mdeboer mdeboer commented Jan 29, 2025

What:

  • Bug Fix
  • New Feature

Description:

This fixes cases where running pest with --fail-on-incomplete (and possibly other --fail-on arguments) returns an exit code of 0 (success) instead of 1 (error).

Related:

@mdeboer
Copy link
Author

mdeboer commented Mar 14, 2025

Please let me know if you want me to fix the merge conflicts. This PR hasn't had any attention so far afaik.

So please, let me know if you want me to do anything.

@mdeboer
Copy link
Author

mdeboer commented May 15, 2025

@nunomaduro Just a friendly reminder. It would be nice if someone could take a look at this as the original issue was opened on December 14 2024.

@nunomaduro
Copy link
Member

this is fixed on the upcoming 4.x branch.

@nunomaduro nunomaduro closed this Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: --fail-on-incomplete doesn't cause exit code to be non-zero when snapshots are missing

2 participants