[wp-trac] [WordPress Trac] #56706: Tests: `parent::set_up()` calls `wp_list_pluck()`, causing inaccurate coverage.

WordPress Trac noreply at wordpress.org
Sat Oct 1 10:57:59 UTC 2022


#56706: Tests: `parent::set_up()` calls `wp_list_pluck()`, causing inaccurate
coverage.
----------------------------------------------+-----------------------
 Reporter:  costdev                           |       Owner:  costdev
     Type:  defect (bug)                      |      Status:  assigned
 Priority:  normal                            |   Milestone:  6.1
Component:  Build/Test Tools                  |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  has-screenshots has-patch commit  |     Focuses:
----------------------------------------------+-----------------------
Changes (by jrf):

 * keywords:  has-screenshots has-patch => has-screenshots has-patch commit


Comment:

 Note: the above reproduction scenario needs PHPUnit 9.3+ to run (due to
 the use of the `<coverage>` element in the configuration).

 Other than that, I can confirm what @costdev described and would recommend
 for this patch to be committed.

 Loosely related to #53011, #53746, #39265

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56706#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list