Closed (fixed)
Project:
Drupal core
Version:
10.1.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Dec 2021 at 20:53 UTC
Updated:
3 Mar 2023 at 12:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sweetchuckComment #3
sweetchuckComment #6
smustgrave commentedThis issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.
Not sure I see the "why" this should be done.
Could you elaborate more
Comment #7
sweetchuck- What is the purpose of the test coverage report?
- It is intended to help identify areas of the system that have not been adequately tested, and to provide guidance on which tests should be conducted next.
Not everything has to be covered with Unit or Kernel tests.
Maybe a certain part of the code is covered with FunctionalJavascript test, but for that is very difficult to get coverage report.
It is also true if a file is 100% green, it doesn't mean that it is covered with right and meaningful tests.
Do we need to write test to cover the functions in any *.api.php files?
Can we write test to cover the functions in any *.api.php files?
If the answer is "no", then why are those files in the coverage report?
Comment #8
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #9
sweetchuckComment #11
sweetchuckComment #12
smustgrave commentedThank you for the explanation. Will see what the committers think.
Comment #13
catchCommitted 433faff and pushed to 10.1.x. Thanks!
Comment #15
catch