Add Test Coverage #57850
Replies: 2 comments 9 replies
-
|
Hi bro Laravel already has a large and well-maintained test suite, but you are right that there is no enforced coverage percentage in the CI pipeline. Adding an optional coverage check or publishing coverage reports could help contributors see gaps more clearly. However, enforcing a strict coverage threshold might slow down contributions, so maintainers usually avoid it. |
Beta Was this translation helpful? Give feedback.
-
|
Tbh when you have a Taylor Otwell maintaining, you don't need test converge. Also: I've had test coverage for years and found it to be a bit useless. e.g. phpstan catching things that test coverage often did not/false positives etc. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel has already developed very well and has become the best framework for PHP.
After looking at the repository with the framework itself, I did not find a test coverage check.
Perhaps it would be worth adding this check in order to improve the standard of code quality?
Beta Was this translation helpful? Give feedback.
All reactions