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

Allow Psalm to kill mutant on uncovered line of code. #487

Open
bdsl opened this issue Nov 17, 2023 · 1 comment
Open

Allow Psalm to kill mutant on uncovered line of code. #487

bdsl opened this issue Nov 17, 2023 · 1 comment

Comments

@bdsl
Copy link

bdsl commented Nov 17, 2023

Similar to #486 (and perhaps more so) this might not be feasible to fix, but it does seem desirable. For some parts of many projects it's probably reasonable to decide that high type coverage with highly specific Psalm types is sufficient and unit tests are not needed.

If it'd not feasible then take this issue as documentation issue - either the issue itself can serve as documentation or I can contribute to the readme or other docs.

@Ocramius
Copy link
Member

high type coverage with highly specific Psalm types is sufficient and unit tests are not needed.

Code should still be run at least once, unless all it produces is a static compilation output (not applicable to PHP).

Running without phpunit (solely psalm) is feasible though.

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

No branches or pull requests

2 participants