Skip to content
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

Mark Mutant as killed if Test Framework returns non-zero exit code #1621

Merged
merged 1 commit into from Dec 22, 2021

Commits on Dec 21, 2021

  1. Mark Mutant as killed if Test Framework returns non-zero exit code

    PHPUnit can return "Tests passed! OK (10 tests, 32 assertions)" output, however return code will be non-zero.
    
    This happens when, for example, `symfony/phpunit-bridge` is used, and it detects outstanding deprecations which fails PHPUnit execution, while all the tests are passing
    
    See #1620 (comment)
    
    Now, when Test Framework exit code is > 100, Mutant will be treated as `E`rrored (retained behavior).
    
    When Test Framework exit code is non-zero, Mutant will be treated as Killed (new behavior), even if from output's point of view tests pass.
    maks-rafalko committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    f8a1e1a View commit details
    Browse the repository at this point in the history