-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Deprecate includeUncoveredFiles
configuration option
#5951
Comments
Good question and excellent point. Thank you for raising it! Before php-code-coverage used static analysis (using PHP-Parser) to (also) analyse uncovered files, uncovered files were actually loaded using So, yes, the |
includeUncoveredFiles
configuration option
You're welcome. Thank you for the response and happy to hear that it can be removed nowadays. |
There is one important reason to leave In my daily work I often run coverage test for only one test file. To check if my recent update of test file covers all lines and branches in tested class. For very simple system it looks like this: For real (big) system second list will be much longer. @sebastianbergmann Please consider restoring |
@theseer, @localheinz, @staabm, @Schrank, @sebastianheuer, @Tesla91, and I discussed this issue during the PHPUnit Code Sprint in Munich today. We would like to understand why you look at the overview page when you seem to only be interested in the details of a single source file (or a subdirectory of the project root directory). |
@sebastianbergmann Because I am starting browsing of coverage results from Here is the content of
Now I see, that I can go to OK. I can start browsing in specific directory.
Is there any other option to not waste my time, CPU power and energy? |
Hi Sebastian,
before I start, I want to give my appreciation for the time and effort you put into this project.
In the code coverage section (v11.3) of the documentation it is mentioned that it is highly recommended to keep the default (
true
) forincludeUncoveredFiles
. Otherwise the report is not complete and honest. That made me wonder, why can I disable it at all? Perhaps it can be removed, with the goal to reduce complexity.Looking forward to hearing from you,
Alexander
The text was updated successfully, but these errors were encountered: