-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
False positive: Throw_
mutant not covered by tests
#1778
Comments
Please try:
And report if you still have the issue. |
I still have the same issue. |
Here's what I did. I generated a coverage report with
|
Yup, an easy fix is needed in |
I can confirm with a similar issue, see https://dashboard.stryker-mutator.io/reports/github.com/CuyZ/Valinor/master#mutant/Type/Types/UnresolvableType.php |
Fix proposed in sebastianbergmann/php-code-coverage#969 |
Shall we close this as completed? |
Personally, I’d wait until there’s a new tag released for |
Thanks for raising this issue. I don't see we can do anything more here. If there is more to the issue, please inspect the coverage report and open any issues with the packages where they appear. Thanks again. |
ghostwriter/option
ghostwriter/result
ghostwriter/option/src/Traits/OptionTrait.php:70
[M] Throw_This test explicitly checks that the method throws a specific exception with a specific exception message, but that doesn’t satisfy infection.
ghostwriter/option/tests/Unit/NoneTest.php:102
I keep seeing multiple instances of this same error in many repositories.
I believe it is a false positive or bug because, in each instance, I have 100% test coverage.
eg. :
https://github.com/ghostwriter/option/actions/runs/3710778536/jobs/6290589145
https://github.com/ghostwriter/result/actions/runs/3710486045/jobs/6290051681
The text was updated successfully, but these errors were encountered: